diff --git a/README.md b/README.md index 3474105bd..19c30e279 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ Note that **Message** refers to any message type below. ``` * **Message.encode**(message: `Message|Object` [, writer: `Writer`]): `Writer`
- is an automatically generated message specific encoder expecting a valid message or plain object. Note that this methods does not implicitly verify the message and that it's up to the user to make sure that the data can actually be encoded properly. + is an automatically generated message specific encoder expecting a valid message or plain object. Note that this method does not implicitly verify the message and that it's up to the user to make sure that the data can actually be encoded properly. ```js var buffer = AwesomeMessage.encode(message).finish(); diff --git a/cli/targets/static.js b/cli/targets/static.js index fae7a75f1..aa6949fa3 100644 --- a/cli/targets/static.js +++ b/cli/targets/static.js @@ -394,7 +394,7 @@ function buildType(ref, type) { push(""); pushComment([ "Encodes the specified " + type.name + " message. Does not implicitly {@link " + fullName + ".verify|verify} messages.", - "@param {" + fullName + "|Object} " + (config.beautify ? "message" : "m") + " " + type.name + " message or plain object to encode", + "@param {" + fullName + "|Object.} " + (config.beautify ? "message" : "m") + " " + type.name + " message or plain object to encode", "@param {$protobuf.Writer} [" + (config.beautify ? "writer" : "w") + "] Writer to encode to", "@returns {$protobuf.Writer} Writer" ]); @@ -404,7 +404,7 @@ function buildType(ref, type) { push(""); pushComment([ "Encodes the specified " + type.name + " message, length delimited. Does not implicitly {@link " + fullName + ".verify|verify} messages.", - "@param {" + fullName + "|Object} message " + type.name + " message or plain object to encode", + "@param {" + fullName + "|Object.} message " + type.name + " message or plain object to encode", "@param {$protobuf.Writer} [writer] Writer to encode to", "@returns {$protobuf.Writer} Writer" ]); @@ -456,11 +456,10 @@ function buildType(ref, type) { push(""); pushComment([ "Verifies " + aOrAn(type.name) + " message.", - "@param {" + fullName + "|Object} " + (config.beautify ? "message" : "m") + " " + type.name + " message or plain object to verify", + "@param {Object.} " + (config.beautify ? "message" : "m") + " " + type.name + " object to verify", "@returns {?string} `null` if valid, otherwise the reason why it is not" ]); buildFunction(type, "verify", protobuf.verifier(type)); - } if (config.convert) { @@ -570,7 +569,7 @@ function buildService(ref, service) { push(""); pushComment([ method.comment || "Calls " + method.name + ".", - "@param {" + method.resolvedRequestType.fullName.substring(1) + "|Object} request " + method.resolvedRequestType.name + " message or plain object", + "@param {" + method.resolvedRequestType.fullName.substring(1) + "|Object.} request " + method.resolvedRequestType.name + " message or plain object", "@param {" + cbName + "} callback Node-style callback called with the error, if any, and " + method.resolvedResponseType.name, "@returns {undefined}" ]); @@ -585,7 +584,7 @@ function buildService(ref, service) { method.comment || "Calls " + method.name + ".", "@name " + name(service.name) + "#" + lcName, "@function", - "@param {" + method.resolvedRequestType.fullName.substring(1) + "|Object} request " + method.resolvedRequestType.name + " message or plain object", + "@param {" + method.resolvedRequestType.fullName.substring(1) + "|Object.} request " + method.resolvedRequestType.name + " message or plain object", "@returns {Promise<"+method.resolvedResponseType.fullName.substring(1)+">} Promise", "@variation 2" ]); diff --git a/src/class.js b/src/class.js index 8c9db1bb6..51cbb31d0 100644 --- a/src/class.js +++ b/src/class.js @@ -136,7 +136,7 @@ Class.prototype = Message; * Encodes a message of this type. * @name Class#encode * @function - * @param {Message|Object} message Message to encode + * @param {Message|Object.} message Message to encode * @param {Writer} [writer] Writer to use * @returns {Writer} Writer */ @@ -145,7 +145,7 @@ Class.prototype = Message; * Encodes a message of this type preceeded by its length as a varint. * @name Class#encodeDelimited * @function - * @param {Message|Object} message Message to encode + * @param {Message|Object.} message Message to encode * @param {Writer} [writer] Writer to use * @returns {Writer} Writer */ @@ -170,6 +170,6 @@ Class.prototype = Message; * Verifies a message of this type. * @name Class#verify * @function - * @param {Message|Object} message Message or plain object to verify + * @param {Message|Object.} message Message or plain object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ diff --git a/src/message.js b/src/message.js index 97b718342..785adf4f3 100644 --- a/src/message.js +++ b/src/message.js @@ -34,7 +34,7 @@ function Message(properties) { /** * Encodes a message of this type. - * @param {Message|Object} message Message to encode + * @param {Message|Object.} message Message to encode * @param {Writer} [writer] Writer to use * @returns {Writer} Writer */ @@ -44,7 +44,7 @@ Message.encode = function encode(message, writer) { /** * Encodes a message of this type preceeded by its length as a varint. - * @param {Message|Object} message Message to encode + * @param {Message|Object.} message Message to encode * @param {Writer} [writer] Writer to use * @returns {Writer} Writer */ @@ -78,7 +78,7 @@ Message.decodeDelimited = function decodeDelimited(reader) { * Verifies a message of this type. * @name Message.verify * @function - * @param {Message|Object} message Message or plain object to verify + * @param {Message|Object.} message Message or plain object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Message.verify = function verify(message) { diff --git a/src/oneof.js b/src/oneof.js index 64cc7f3d6..02987ea99 100644 --- a/src/oneof.js +++ b/src/oneof.js @@ -13,7 +13,7 @@ var Field = require("./field"); * @extends ReflectionObject * @constructor * @param {string} name Oneof name - * @param {string[]|Object} [fieldNames] Field names + * @param {string[]|Object.} [fieldNames] Field names * @param {Object.} [options] Declared options */ function OneOf(name, fieldNames, options) { diff --git a/src/rpc/service.js b/src/rpc/service.js index 94ba91785..cf763f1d2 100644 --- a/src/rpc/service.js +++ b/src/rpc/service.js @@ -21,7 +21,7 @@ var util = require("../util/minimal"); * A service method part of a {@link rpc.ServiceMethodMixin|ServiceMethodMixin} and thus {@link rpc.Service} as created by {@link Service.create}. * @typedef rpc.ServiceMethod * @type {function} - * @param {Message|Object} request Request message or plain object + * @param {Message|Object.} request Request message or plain object * @param {rpc.ServiceMethodCallback} [callback] Node-style callback called with the error, if any, and the response message * @returns {Promise} Promise if `callback` has been omitted, otherwise `undefined` */ @@ -79,7 +79,7 @@ function Service(rpcImpl, requestDelimited, responseDelimited) { * @param {Method|rpc.ServiceMethod} method Reflected or static method * @param {function} requestCtor Request constructor * @param {function} responseCtor Response constructor - * @param {Message|Object} request Request message or plain object + * @param {Message|Object.} request Request message or plain object * @param {rpc.ServiceMethodCallback} callback Service callback * @returns {undefined} */ diff --git a/src/type.js b/src/type.js index b38f3f387..96430bfc0 100644 --- a/src/type.js +++ b/src/type.js @@ -398,7 +398,7 @@ Type.prototype.setup = function setup() { /** * Encodes a message of this type. Does not implicitly {@link Type#verify|verify} messages. - * @param {Message|Object} message Message instance or plain object + * @param {Message|Object.} message Message instance or plain object * @param {Writer} [writer] Writer to encode to * @returns {Writer} writer */ @@ -408,7 +408,7 @@ Type.prototype.encode = function encode_setup(message, writer) { /** * Encodes a message of this type preceeded by its byte length as a varint. Does not implicitly {@link Type#verify|verify} messages. - * @param {Message|Object} message Message instance or plain object + * @param {Message|Object.} message Message instance or plain object * @param {Writer} [writer] Writer to encode to * @returns {Writer} writer */ @@ -443,7 +443,7 @@ Type.prototype.decodeDelimited = function decodeDelimited(reader) { /** * Verifies that field values are valid and that required fields are present. - * @param {Message|Object} message Message to verify + * @param {Object.} message Plain object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Type.prototype.verify = function verify_setup(message) { @@ -452,7 +452,7 @@ Type.prototype.verify = function verify_setup(message) { /** * Creates a new message of this type from a plain object. Also converts values to their respective internal types. - * @param {Object.} object Plain object + * @param {Object.} object Plain object to convert * @returns {Message} Message instance */ Type.prototype.fromObject = function fromObject(object) { diff --git a/tests/data/comments.js b/tests/data/comments.js index 7b911018c..27f623a58 100644 --- a/tests/data/comments.js +++ b/tests/data/comments.js @@ -59,7 +59,7 @@ $root.Test1 = (function() { /** * Encodes the specified Test1 message. Does not implicitly {@link Test1.verify|verify} messages. - * @param {Test1|Object} message Test1 message or plain object to encode + * @param {Test1|Object.} message Test1 message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -77,7 +77,7 @@ $root.Test1 = (function() { /** * Encodes the specified Test1 message, length delimited. Does not implicitly {@link Test1.verify|verify} messages. - * @param {Test1|Object} message Test1 message or plain object to encode + * @param {Test1|Object.} message Test1 message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -132,7 +132,7 @@ $root.Test1 = (function() { /** * Verifies a Test1 message. - * @param {Test1|Object} message Test1 message or plain object to verify + * @param {Object.} message Test1 object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Test1.verify = function verify(message) { @@ -246,7 +246,7 @@ $root.Test2 = (function() { /** * Encodes the specified Test2 message. Does not implicitly {@link Test2.verify|verify} messages. - * @param {Test2|Object} message Test2 message or plain object to encode + * @param {Test2|Object.} message Test2 message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -258,7 +258,7 @@ $root.Test2 = (function() { /** * Encodes the specified Test2 message, length delimited. Does not implicitly {@link Test2.verify|verify} messages. - * @param {Test2|Object} message Test2 message or plain object to encode + * @param {Test2|Object.} message Test2 message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -304,7 +304,7 @@ $root.Test2 = (function() { /** * Verifies a Test2 message. - * @param {Test2|Object} message Test2 message or plain object to verify + * @param {Object.} message Test2 object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Test2.verify = function verify(message) { diff --git a/tests/data/convert.js b/tests/data/convert.js index baddc652a..c44460adc 100644 --- a/tests/data/convert.js +++ b/tests/data/convert.js @@ -97,7 +97,7 @@ $root.Message = (function() { /** * Encodes the specified Message message. Does not implicitly {@link Message.verify|verify} messages. - * @param {Message|Object} message Message message or plain object to encode + * @param {Message|Object.} message Message message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -138,7 +138,7 @@ $root.Message = (function() { /** * Encodes the specified Message message, length delimited. Does not implicitly {@link Message.verify|verify} messages. - * @param {Message|Object} message Message message or plain object to encode + * @param {Message|Object.} message Message message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -234,7 +234,7 @@ $root.Message = (function() { /** * Verifies a Message message. - * @param {Message|Object} message Message message or plain object to verify + * @param {Object.} message Message object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Message.verify = function verify(message) { diff --git a/tests/data/mapbox/vector_tile.js b/tests/data/mapbox/vector_tile.js index abea6dc56..b116f82b0 100644 --- a/tests/data/mapbox/vector_tile.js +++ b/tests/data/mapbox/vector_tile.js @@ -57,7 +57,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Tile message. Does not implicitly {@link vector_tile.Tile.verify|verify} messages. - * @param {vector_tile.Tile|Object} message Tile message or plain object to encode + * @param {vector_tile.Tile|Object.} message Tile message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -72,7 +72,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Tile message, length delimited. Does not implicitly {@link vector_tile.Tile.verify|verify} messages. - * @param {vector_tile.Tile|Object} message Tile message or plain object to encode + * @param {vector_tile.Tile|Object.} message Tile message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -123,7 +123,7 @@ $root.vector_tile = (function() { /** * Verifies a Tile message. - * @param {vector_tile.Tile|Object} message Tile message or plain object to verify + * @param {Object.} message Tile object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Tile.verify = function verify(message) { @@ -295,7 +295,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Value message. Does not implicitly {@link vector_tile.Tile.Value.verify|verify} messages. - * @param {vector_tile.Tile.Value|Object} message Value message or plain object to encode + * @param {vector_tile.Tile.Value|Object.} message Value message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -321,7 +321,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Value message, length delimited. Does not implicitly {@link vector_tile.Tile.Value.verify|verify} messages. - * @param {vector_tile.Tile.Value|Object} message Value message or plain object to encode + * @param {vector_tile.Tile.Value|Object.} message Value message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -388,7 +388,7 @@ $root.vector_tile = (function() { /** * Verifies a Value message. - * @param {vector_tile.Tile.Value|Object} message Value message or plain object to verify + * @param {Object.} message Value object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Value.verify = function verify(message) { @@ -605,7 +605,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Feature message. Does not implicitly {@link vector_tile.Tile.Feature.verify|verify} messages. - * @param {vector_tile.Tile.Feature|Object} message Feature message or plain object to encode + * @param {vector_tile.Tile.Feature|Object.} message Feature message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -633,7 +633,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Feature message, length delimited. Does not implicitly {@link vector_tile.Tile.Feature.verify|verify} messages. - * @param {vector_tile.Tile.Feature|Object} message Feature message or plain object to encode + * @param {vector_tile.Tile.Feature|Object.} message Feature message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -705,7 +705,7 @@ $root.vector_tile = (function() { /** * Verifies a Feature message. - * @param {vector_tile.Tile.Feature|Object} message Feature message or plain object to verify + * @param {Object.} message Feature object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Feature.verify = function verify(message) { @@ -932,7 +932,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Layer message. Does not implicitly {@link vector_tile.Tile.Layer.verify|verify} messages. - * @param {vector_tile.Tile.Layer|Object} message Layer message or plain object to encode + * @param {vector_tile.Tile.Layer|Object.} message Layer message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -957,7 +957,7 @@ $root.vector_tile = (function() { /** * Encodes the specified Layer message, length delimited. Does not implicitly {@link vector_tile.Tile.Layer.verify|verify} messages. - * @param {vector_tile.Tile.Layer|Object} message Layer message or plain object to encode + * @param {vector_tile.Tile.Layer|Object.} message Layer message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1031,7 +1031,7 @@ $root.vector_tile = (function() { /** * Verifies a Layer message. - * @param {vector_tile.Tile.Layer|Object} message Layer message or plain object to verify + * @param {Object.} message Layer object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Layer.verify = function verify(message) { diff --git a/tests/data/package.js b/tests/data/package.js index d186a0bca..c6c3b79ce 100644 --- a/tests/data/package.js +++ b/tests/data/package.js @@ -150,7 +150,7 @@ $root.Package = (function() { /** * Encodes the specified Package message. Does not implicitly {@link Package.verify|verify} messages. - * @param {Package|Object} message Package message or plain object to encode + * @param {Package|Object.} message Package message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -205,7 +205,7 @@ $root.Package = (function() { /** * Encodes the specified Package message, length delimited. Does not implicitly {@link Package.verify|verify} messages. - * @param {Package|Object} message Package message or plain object to encode + * @param {Package|Object.} message Package message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -334,7 +334,7 @@ $root.Package = (function() { /** * Verifies a Package message. - * @param {Package|Object} message Package message or plain object to verify + * @param {Object.} message Package object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Package.verify = function verify(message) { @@ -675,7 +675,7 @@ $root.Package = (function() { /** * Encodes the specified Repository message. Does not implicitly {@link Package.Repository.verify|verify} messages. - * @param {Package.Repository|Object} message Repository message or plain object to encode + * @param {Package.Repository|Object.} message Repository message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -691,7 +691,7 @@ $root.Package = (function() { /** * Encodes the specified Repository message, length delimited. Does not implicitly {@link Package.Repository.verify|verify} messages. - * @param {Package.Repository|Object} message Repository message or plain object to encode + * @param {Package.Repository|Object.} message Repository message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -743,7 +743,7 @@ $root.Package = (function() { /** * Verifies a Repository message. - * @param {Package.Repository|Object} message Repository message or plain object to verify + * @param {Object.} message Repository object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Repository.verify = function verify(message) { diff --git a/tests/data/rpc.d.ts b/tests/data/rpc.d.ts index 991dc8787..35d914ea0 100644 --- a/tests/data/rpc.d.ts +++ b/tests/data/rpc.d.ts @@ -3,8 +3,8 @@ import * as $protobuf from "../.."; export class MyService extends $protobuf.rpc.Service { constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): MyService; - public myMethod(request: (MyRequest|Object), callback: MyService_myMethod_Callback): void; - public myMethod(request: (MyRequest|Object)): Promise; + public myMethod(request: (MyRequest|{ [k: string]: any }), callback: MyService_myMethod_Callback): void; + public myMethod(request: (MyRequest|{ [k: string]: any })): Promise; } type MyService_myMethod_Callback = (error: Error, response?: MyResponse) => void; @@ -13,11 +13,11 @@ export class MyRequest { constructor(properties?: { [k: string]: any }); public path?: string; public static create(properties?: { [k: string]: any }): MyRequest; - public static encode(message: (MyRequest|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (MyRequest|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (MyRequest|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (MyRequest|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MyRequest; public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MyRequest; - public static verify(message: (MyRequest|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): MyRequest; public static from(object: { [k: string]: any }): MyRequest; public static toObject(message: MyRequest, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -29,11 +29,11 @@ export class MyResponse { constructor(properties?: { [k: string]: any }); public status?: number; public static create(properties?: { [k: string]: any }): MyResponse; - public static encode(message: (MyResponse|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (MyResponse|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (MyResponse|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (MyResponse|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MyResponse; public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MyResponse; - public static verify(message: (MyResponse|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): MyResponse; public static from(object: { [k: string]: any }): MyResponse; public static toObject(message: MyResponse, options?: $protobuf.ConversionOptions): { [k: string]: any }; diff --git a/tests/data/rpc.js b/tests/data/rpc.js index 07298d670..6faf7db85 100644 --- a/tests/data/rpc.js +++ b/tests/data/rpc.js @@ -50,7 +50,7 @@ $root.MyService = (function() { /** * Calls MyMethod. - * @param {MyRequest|Object} request MyRequest message or plain object + * @param {MyRequest|Object.} request MyRequest message or plain object * @param {MyService_myMethod_Callback} callback Node-style callback called with the error, if any, and MyResponse * @returns {undefined} */ @@ -62,7 +62,7 @@ $root.MyService = (function() { * Calls MyMethod. * @name MyService#myMethod * @function - * @param {MyRequest|Object} request MyRequest message or plain object + * @param {MyRequest|Object.} request MyRequest message or plain object * @returns {Promise} Promise * @variation 2 */ @@ -101,7 +101,7 @@ $root.MyRequest = (function() { /** * Encodes the specified MyRequest message. Does not implicitly {@link MyRequest.verify|verify} messages. - * @param {MyRequest|Object} message MyRequest message or plain object to encode + * @param {MyRequest|Object.} message MyRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -115,7 +115,7 @@ $root.MyRequest = (function() { /** * Encodes the specified MyRequest message, length delimited. Does not implicitly {@link MyRequest.verify|verify} messages. - * @param {MyRequest|Object} message MyRequest message or plain object to encode + * @param {MyRequest|Object.} message MyRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -164,7 +164,7 @@ $root.MyRequest = (function() { /** * Verifies a MyRequest message. - * @param {MyRequest|Object} message MyRequest message or plain object to verify + * @param {Object.} message MyRequest object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ MyRequest.verify = function verify(message) { @@ -267,7 +267,7 @@ $root.MyResponse = (function() { /** * Encodes the specified MyResponse message. Does not implicitly {@link MyResponse.verify|verify} messages. - * @param {MyResponse|Object} message MyResponse message or plain object to encode + * @param {MyResponse|Object.} message MyResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -281,7 +281,7 @@ $root.MyResponse = (function() { /** * Encodes the specified MyResponse message, length delimited. Does not implicitly {@link MyResponse.verify|verify} messages. - * @param {MyResponse|Object} message MyResponse message or plain object to encode + * @param {MyResponse|Object.} message MyResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -330,7 +330,7 @@ $root.MyResponse = (function() { /** * Verifies a MyResponse message. - * @param {MyResponse|Object} message MyResponse message or plain object to verify + * @param {Object.} message MyResponse object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ MyResponse.verify = function verify(message) { diff --git a/tests/data/test.d.ts b/tests/data/test.d.ts index f7adee5d2..06ccfb9e3 100644 --- a/tests/data/test.d.ts +++ b/tests/data/test.d.ts @@ -7,11 +7,11 @@ export namespace jspb { class Empty { constructor(properties?: { [k: string]: any }); public static create(properties?: { [k: string]: any }): jspb.test.Empty; - public static encode(message: (jspb.test.Empty|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.Empty|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.Empty|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.Empty|{ [k: string]: any }), 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: (jspb.test.Empty|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.Empty; public static from(object: { [k: string]: any }): jspb.test.Empty; public static toObject(message: jspb.test.Empty, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -28,11 +28,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public outerEnum?: number; public static create(properties?: { [k: string]: any }): jspb.test.EnumContainer; - public static encode(message: (jspb.test.EnumContainer|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.EnumContainer|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.EnumContainer|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.EnumContainer|{ [k: string]: any }), 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: (jspb.test.EnumContainer|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.EnumContainer; public static from(object: { [k: string]: any }): jspb.test.EnumContainer; public static toObject(message: jspb.test.EnumContainer, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -46,11 +46,11 @@ export namespace jspb { public aRepeatedString?: string[]; public aBoolean?: boolean; public static create(properties?: { [k: string]: any }): jspb.test.Simple1; - public static encode(message: (jspb.test.Simple1|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.Simple1|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.Simple1|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.Simple1|{ [k: string]: any }), 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: (jspb.test.Simple1|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.Simple1; public static from(object: { [k: string]: any }): jspb.test.Simple1; public static toObject(message: jspb.test.Simple1, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -63,11 +63,11 @@ export namespace jspb { public aString: string; public aRepeatedString?: string[]; public static create(properties?: { [k: string]: any }): jspb.test.Simple2; - public static encode(message: (jspb.test.Simple2|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.Simple2|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.Simple2|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.Simple2|{ [k: string]: any }), 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: (jspb.test.Simple2|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.Simple2; public static from(object: { [k: string]: any }): jspb.test.Simple2; public static toObject(message: jspb.test.Simple2, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -82,11 +82,11 @@ export namespace jspb { public function: string; public var: string; public static create(properties?: { [k: string]: any }): jspb.test.SpecialCases; - public static encode(message: (jspb.test.SpecialCases|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.SpecialCases|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.SpecialCases|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.SpecialCases|{ [k: string]: any }), 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: (jspb.test.SpecialCases|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.SpecialCases; public static from(object: { [k: string]: any }): jspb.test.SpecialCases; public static toObject(message: jspb.test.SpecialCases, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -102,11 +102,11 @@ export namespace jspb { public aRepeatedMessage?: jspb.test.OptionalFields.Nested[]; public aRepeatedString?: string[]; public static create(properties?: { [k: string]: any }): jspb.test.OptionalFields; - public static encode(message: (jspb.test.OptionalFields|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.OptionalFields|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.OptionalFields|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.OptionalFields|{ [k: string]: any }), 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: (jspb.test.OptionalFields|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.OptionalFields; public static from(object: { [k: string]: any }): jspb.test.OptionalFields; public static toObject(message: jspb.test.OptionalFields, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -120,11 +120,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public anInt?: number; public static create(properties?: { [k: string]: any }): jspb.test.OptionalFields.Nested; - public static encode(message: (jspb.test.OptionalFields.Nested|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.OptionalFields.Nested|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.OptionalFields.Nested|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.OptionalFields.Nested|{ [k: string]: any }), 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: (jspb.test.OptionalFields.Nested|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.OptionalFields.Nested; public static from(object: { [k: string]: any }): jspb.test.OptionalFields.Nested; public static toObject(message: jspb.test.OptionalFields.Nested, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -139,11 +139,11 @@ export namespace jspb { public str2?: string; public str3?: string; public static create(properties?: { [k: string]: any }): jspb.test.HasExtensions; - public static encode(message: (jspb.test.HasExtensions|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.HasExtensions|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.HasExtensions|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.HasExtensions|{ [k: string]: any }), 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: (jspb.test.HasExtensions|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.HasExtensions; public static from(object: { [k: string]: any }): jspb.test.HasExtensions; public static toObject(message: jspb.test.HasExtensions, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -159,11 +159,11 @@ export namespace jspb { public aRepeatedMessage?: jspb.test.Complex.Nested[]; public aRepeatedString?: string[]; public static create(properties?: { [k: string]: any }): jspb.test.Complex; - public static encode(message: (jspb.test.Complex|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.Complex|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.Complex|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.Complex|{ [k: string]: any }), 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: (jspb.test.Complex|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.Complex; public static from(object: { [k: string]: any }): jspb.test.Complex; public static toObject(message: jspb.test.Complex, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -177,11 +177,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public anInt: number; public static create(properties?: { [k: string]: any }): jspb.test.Complex.Nested; - public static encode(message: (jspb.test.Complex.Nested|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.Complex.Nested|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.Complex.Nested|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.Complex.Nested|{ [k: string]: any }), 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: (jspb.test.Complex.Nested|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.Complex.Nested; public static from(object: { [k: string]: any }): jspb.test.Complex.Nested; public static toObject(message: jspb.test.Complex.Nested, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -193,11 +193,11 @@ export namespace jspb { class OuterMessage { constructor(properties?: { [k: string]: any }); public static create(properties?: { [k: string]: any }): jspb.test.OuterMessage; - public static encode(message: (jspb.test.OuterMessage|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.OuterMessage|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.OuterMessage|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.OuterMessage|{ [k: string]: any }), 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: (jspb.test.OuterMessage|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.OuterMessage; public static from(object: { [k: string]: any }): jspb.test.OuterMessage; public static toObject(message: jspb.test.OuterMessage, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -211,11 +211,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public innerComplexField?: number; public static create(properties?: { [k: string]: any }): jspb.test.OuterMessage.Complex; - public static encode(message: (jspb.test.OuterMessage.Complex|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.OuterMessage.Complex|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.OuterMessage.Complex|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.OuterMessage.Complex|{ [k: string]: any }), 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: (jspb.test.OuterMessage.Complex|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.OuterMessage.Complex; public static from(object: { [k: string]: any }): jspb.test.OuterMessage.Complex; public static toObject(message: jspb.test.OuterMessage.Complex, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -228,11 +228,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public ext1?: string; public static create(properties?: { [k: string]: any }): jspb.test.IsExtension; - public static encode(message: (jspb.test.IsExtension|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.IsExtension|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.IsExtension|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.IsExtension|{ [k: string]: any }), 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: (jspb.test.IsExtension|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.IsExtension; public static from(object: { [k: string]: any }): jspb.test.IsExtension; public static toObject(message: jspb.test.IsExtension, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -243,11 +243,11 @@ export namespace jspb { class IndirectExtension { constructor(properties?: { [k: string]: any }); public static create(properties?: { [k: string]: any }): jspb.test.IndirectExtension; - public static encode(message: (jspb.test.IndirectExtension|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.IndirectExtension|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.IndirectExtension|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.IndirectExtension|{ [k: string]: any }), 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: (jspb.test.IndirectExtension|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.IndirectExtension; public static from(object: { [k: string]: any }): jspb.test.IndirectExtension; public static toObject(message: jspb.test.IndirectExtension, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -264,11 +264,11 @@ export namespace jspb { public emptyField?: string; public bytesField?: Uint8Array; public static create(properties?: { [k: string]: any }): jspb.test.DefaultValues; - public static encode(message: (jspb.test.DefaultValues|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.DefaultValues|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.DefaultValues|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.DefaultValues|{ [k: string]: any }), 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: (jspb.test.DefaultValues|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.DefaultValues; public static from(object: { [k: string]: any }): jspb.test.DefaultValues; public static toObject(message: jspb.test.DefaultValues, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -295,11 +295,11 @@ export namespace jspb { public repeatedDoubleField?: number[]; public defaultDoubleField?: number; public static create(properties?: { [k: string]: any }): jspb.test.FloatingPointFields; - public static encode(message: (jspb.test.FloatingPointFields|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.FloatingPointFields|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.FloatingPointFields|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.FloatingPointFields|{ [k: string]: any }), 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: (jspb.test.FloatingPointFields|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.FloatingPointFields; public static from(object: { [k: string]: any }): jspb.test.FloatingPointFields; public static toObject(message: jspb.test.FloatingPointFields, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -315,11 +315,11 @@ export namespace jspb { public bytesField?: Uint8Array; public unused?: string; public static create(properties?: { [k: string]: any }): jspb.test.TestClone; - public static encode(message: (jspb.test.TestClone|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.TestClone|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.TestClone|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.TestClone|{ [k: string]: any }), 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: (jspb.test.TestClone|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.TestClone; public static from(object: { [k: string]: any }): jspb.test.TestClone; public static toObject(message: jspb.test.TestClone, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -331,11 +331,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public ext?: string; public static create(properties?: { [k: string]: any }): jspb.test.CloneExtension; - public static encode(message: (jspb.test.CloneExtension|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.CloneExtension|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.CloneExtension|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.CloneExtension|{ [k: string]: any }), 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: (jspb.test.CloneExtension|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.CloneExtension; public static from(object: { [k: string]: any }): jspb.test.CloneExtension; public static toObject(message: jspb.test.CloneExtension, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -352,11 +352,11 @@ export namespace jspb { public requiredSimple: jspb.test.Simple2; public optionalSimple?: jspb.test.Simple2; public static create(properties?: { [k: string]: any }): jspb.test.TestGroup; - public static encode(message: (jspb.test.TestGroup|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.TestGroup|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.TestGroup|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.TestGroup|{ [k: string]: any }), 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: (jspb.test.TestGroup|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup; public static from(object: { [k: string]: any }): jspb.test.TestGroup; public static toObject(message: jspb.test.TestGroup, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -371,11 +371,11 @@ export namespace jspb { public id: string; public someBool?: boolean[]; public static create(properties?: { [k: string]: any }): jspb.test.TestGroup.RepeatedGroup; - public static encode(message: (jspb.test.TestGroup.RepeatedGroup|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.TestGroup.RepeatedGroup|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.TestGroup.RepeatedGroup|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.TestGroup.RepeatedGroup|{ [k: string]: any }), 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: (jspb.test.TestGroup.RepeatedGroup|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup.RepeatedGroup; public static from(object: { [k: string]: any }): jspb.test.TestGroup.RepeatedGroup; public static toObject(message: jspb.test.TestGroup.RepeatedGroup, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -387,11 +387,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public id: string; public static create(properties?: { [k: string]: any }): jspb.test.TestGroup.RequiredGroup; - public static encode(message: (jspb.test.TestGroup.RequiredGroup|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.TestGroup.RequiredGroup|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.TestGroup.RequiredGroup|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.TestGroup.RequiredGroup|{ [k: string]: any }), 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: (jspb.test.TestGroup.RequiredGroup|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup.RequiredGroup; public static from(object: { [k: string]: any }): jspb.test.TestGroup.RequiredGroup; public static toObject(message: jspb.test.TestGroup.RequiredGroup, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -403,11 +403,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public id: string; public static create(properties?: { [k: string]: any }): jspb.test.TestGroup.OptionalGroup; - public static encode(message: (jspb.test.TestGroup.OptionalGroup|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.TestGroup.OptionalGroup|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.TestGroup.OptionalGroup|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.TestGroup.OptionalGroup|{ [k: string]: any }), 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: (jspb.test.TestGroup.OptionalGroup|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup.OptionalGroup; public static from(object: { [k: string]: any }): jspb.test.TestGroup.OptionalGroup; public static toObject(message: jspb.test.TestGroup.OptionalGroup, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -420,11 +420,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public group?: jspb.test.TestGroup.RepeatedGroup; public static create(properties?: { [k: string]: any }): jspb.test.TestGroup1; - public static encode(message: (jspb.test.TestGroup1|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.TestGroup1|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.TestGroup1|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.TestGroup1|{ [k: string]: any }), 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: (jspb.test.TestGroup1|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.TestGroup1; public static from(object: { [k: string]: any }): jspb.test.TestGroup1; public static toObject(message: jspb.test.TestGroup1, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -436,11 +436,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public extension?: number; public static create(properties?: { [k: string]: any }): jspb.test.TestReservedNames; - public static encode(message: (jspb.test.TestReservedNames|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.TestReservedNames|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.TestReservedNames|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.TestReservedNames|{ [k: string]: any }), 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: (jspb.test.TestReservedNames|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.TestReservedNames; public static from(object: { [k: string]: any }): jspb.test.TestReservedNames; public static toObject(message: jspb.test.TestReservedNames, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -451,11 +451,11 @@ export namespace jspb { class TestReservedNamesExtension { constructor(properties?: { [k: string]: any }); public static create(properties?: { [k: string]: any }): jspb.test.TestReservedNamesExtension; - public static encode(message: (jspb.test.TestReservedNamesExtension|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.TestReservedNamesExtension|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.TestReservedNamesExtension|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.TestReservedNamesExtension|{ [k: string]: any }), 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: (jspb.test.TestReservedNamesExtension|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.TestReservedNamesExtension; public static from(object: { [k: string]: any }): jspb.test.TestReservedNamesExtension; public static toObject(message: jspb.test.TestReservedNamesExtension, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -480,11 +480,11 @@ export namespace jspb { public defaultOneofA?: string; public defaultOneofB?: string; public static create(properties?: { [k: string]: any }): jspb.test.TestMessageWithOneof; - public static encode(message: (jspb.test.TestMessageWithOneof|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.TestMessageWithOneof|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.TestMessageWithOneof|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.TestMessageWithOneof|{ [k: string]: any }), 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: (jspb.test.TestMessageWithOneof|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.TestMessageWithOneof; public static from(object: { [k: string]: any }): jspb.test.TestMessageWithOneof; public static toObject(message: jspb.test.TestMessageWithOneof, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -497,11 +497,11 @@ export namespace jspb { public value?: number; public data?: Uint8Array; public static create(properties?: { [k: string]: any }): jspb.test.TestEndsWithBytes; - public static encode(message: (jspb.test.TestEndsWithBytes|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.TestEndsWithBytes|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.TestEndsWithBytes|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.TestEndsWithBytes|{ [k: string]: any }), 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: (jspb.test.TestEndsWithBytes|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.TestEndsWithBytes; public static from(object: { [k: string]: any }): jspb.test.TestEndsWithBytes; public static toObject(message: jspb.test.TestEndsWithBytes, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -524,11 +524,11 @@ export namespace jspb { public testMapFields?: jspb.test.TestMapFieldsNoBinary; public mapStringTestmapfields?: { [k: string]: jspb.test.TestMapFieldsNoBinary }; public static create(properties?: { [k: string]: any }): jspb.test.TestMapFieldsNoBinary; - public static encode(message: (jspb.test.TestMapFieldsNoBinary|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.TestMapFieldsNoBinary|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.TestMapFieldsNoBinary|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.TestMapFieldsNoBinary|{ [k: string]: any }), 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: (jspb.test.TestMapFieldsNoBinary|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.TestMapFieldsNoBinary; public static from(object: { [k: string]: any }): jspb.test.TestMapFieldsNoBinary; public static toObject(message: jspb.test.TestMapFieldsNoBinary, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -546,11 +546,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public foo?: number; public static create(properties?: { [k: string]: any }): jspb.test.MapValueMessageNoBinary; - public static encode(message: (jspb.test.MapValueMessageNoBinary|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.MapValueMessageNoBinary|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.MapValueMessageNoBinary|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.MapValueMessageNoBinary|{ [k: string]: any }), 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: (jspb.test.MapValueMessageNoBinary|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.MapValueMessageNoBinary; public static from(object: { [k: string]: any }): jspb.test.MapValueMessageNoBinary; public static toObject(message: jspb.test.MapValueMessageNoBinary, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -561,11 +561,11 @@ export namespace jspb { class Deeply { constructor(properties?: { [k: string]: any }); public static create(properties?: { [k: string]: any }): jspb.test.Deeply; - public static encode(message: (jspb.test.Deeply|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.Deeply|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.Deeply|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.Deeply|{ [k: string]: any }), 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: (jspb.test.Deeply|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.Deeply; public static from(object: { [k: string]: any }): jspb.test.Deeply; public static toObject(message: jspb.test.Deeply, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -578,11 +578,11 @@ export namespace jspb { class Nested { constructor(properties?: { [k: string]: any }); public static create(properties?: { [k: string]: any }): jspb.test.Deeply.Nested; - public static encode(message: (jspb.test.Deeply.Nested|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.Deeply.Nested|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.Deeply.Nested|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.Deeply.Nested|{ [k: string]: any }), 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: (jspb.test.Deeply.Nested|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.Deeply.Nested; public static from(object: { [k: string]: any }): jspb.test.Deeply.Nested; public static toObject(message: jspb.test.Deeply.Nested, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -596,11 +596,11 @@ export namespace jspb { constructor(properties?: { [k: string]: any }); public count?: number; public static create(properties?: { [k: string]: any }): jspb.test.Deeply.Nested.Message; - public static encode(message: (jspb.test.Deeply.Nested.Message|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (jspb.test.Deeply.Nested.Message|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (jspb.test.Deeply.Nested.Message|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (jspb.test.Deeply.Nested.Message|{ [k: string]: any }), 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: (jspb.test.Deeply.Nested.Message|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): jspb.test.Deeply.Nested.Message; public static from(object: { [k: string]: any }): jspb.test.Deeply.Nested.Message; public static toObject(message: jspb.test.Deeply.Nested.Message, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -620,11 +620,11 @@ export namespace google { constructor(properties?: { [k: string]: any }); public file?: google.protobuf.FileDescriptorProto[]; public static create(properties?: { [k: string]: any }): google.protobuf.FileDescriptorSet; - public static encode(message: (google.protobuf.FileDescriptorSet|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.FileDescriptorSet|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.FileDescriptorSet|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.FileDescriptorSet|{ [k: string]: any }), 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: (google.protobuf.FileDescriptorSet|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet; public static from(object: { [k: string]: any }): google.protobuf.FileDescriptorSet; public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -647,11 +647,11 @@ export namespace google { public sourceCodeInfo?: google.protobuf.SourceCodeInfo; public syntax?: string; public static create(properties?: { [k: string]: any }): google.protobuf.FileDescriptorProto; - public static encode(message: (google.protobuf.FileDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.FileDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.FileDescriptorProto|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.FileDescriptorProto|{ [k: string]: any }), 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: (google.protobuf.FileDescriptorProto|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto; public static from(object: { [k: string]: any }): google.protobuf.FileDescriptorProto; public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -672,11 +672,11 @@ export namespace google { public reservedRange?: google.protobuf.DescriptorProto.ReservedRange[]; public reservedName?: string[]; public static create(properties?: { [k: string]: any }): google.protobuf.DescriptorProto; - public static encode(message: (google.protobuf.DescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.DescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.DescriptorProto|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.DescriptorProto|{ [k: string]: any }), 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: (google.protobuf.DescriptorProto|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto; public static from(object: { [k: string]: any }): google.protobuf.DescriptorProto; public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -691,11 +691,11 @@ export namespace google { public start?: number; public end?: number; public static create(properties?: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange; - public static encode(message: (google.protobuf.DescriptorProto.ExtensionRange|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.DescriptorProto.ExtensionRange|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.DescriptorProto.ExtensionRange|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.DescriptorProto.ExtensionRange|{ [k: string]: any }), 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: (google.protobuf.DescriptorProto.ExtensionRange|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange; public static from(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange; public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -708,11 +708,11 @@ export namespace google { public start?: number; public end?: number; public static create(properties?: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange; - public static encode(message: (google.protobuf.DescriptorProto.ReservedRange|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.DescriptorProto.ReservedRange|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.DescriptorProto.ReservedRange|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.DescriptorProto.ReservedRange|{ [k: string]: any }), 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: (google.protobuf.DescriptorProto.ReservedRange|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange; public static from(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange; public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -734,11 +734,11 @@ export namespace google { public jsonName?: string; public options?: google.protobuf.FieldOptions; public static create(properties?: { [k: string]: any }): google.protobuf.FieldDescriptorProto; - public static encode(message: (google.protobuf.FieldDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.FieldDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.FieldDescriptorProto|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.FieldDescriptorProto|{ [k: string]: any }), 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: (google.protobuf.FieldDescriptorProto|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto; public static from(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto; public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -781,11 +781,11 @@ export namespace google { public name?: string; public options?: google.protobuf.OneofOptions; public static create(properties?: { [k: string]: any }): google.protobuf.OneofDescriptorProto; - public static encode(message: (google.protobuf.OneofDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.OneofDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.OneofDescriptorProto|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.OneofDescriptorProto|{ [k: string]: any }), 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: (google.protobuf.OneofDescriptorProto|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto; public static from(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto; public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -799,11 +799,11 @@ export namespace google { public value?: google.protobuf.EnumValueDescriptorProto[]; public options?: google.protobuf.EnumOptions; public static create(properties?: { [k: string]: any }): google.protobuf.EnumDescriptorProto; - public static encode(message: (google.protobuf.EnumDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.EnumDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.EnumDescriptorProto|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.EnumDescriptorProto|{ [k: string]: any }), 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: (google.protobuf.EnumDescriptorProto|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto; public static from(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto; public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -817,11 +817,11 @@ export namespace google { public number?: number; public options?: google.protobuf.EnumValueOptions; public static create(properties?: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto; - public static encode(message: (google.protobuf.EnumValueDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.EnumValueDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.EnumValueDescriptorProto|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.EnumValueDescriptorProto|{ [k: string]: any }), 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: (google.protobuf.EnumValueDescriptorProto|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto; public static from(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto; public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -835,11 +835,11 @@ export namespace google { public method?: google.protobuf.MethodDescriptorProto[]; public options?: google.protobuf.ServiceOptions; public static create(properties?: { [k: string]: any }): google.protobuf.ServiceDescriptorProto; - public static encode(message: (google.protobuf.ServiceDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.ServiceDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.ServiceDescriptorProto|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.ServiceDescriptorProto|{ [k: string]: any }), 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: (google.protobuf.ServiceDescriptorProto|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto; public static from(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto; public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -856,11 +856,11 @@ export namespace google { public clientStreaming?: boolean; public serverStreaming?: boolean; public static create(properties?: { [k: string]: any }): google.protobuf.MethodDescriptorProto; - public static encode(message: (google.protobuf.MethodDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.MethodDescriptorProto|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.MethodDescriptorProto|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.MethodDescriptorProto|{ [k: string]: any }), 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: (google.protobuf.MethodDescriptorProto|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto; public static from(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto; public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -886,11 +886,11 @@ export namespace google { public csharpNamespace?: string; public uninterpretedOption?: google.protobuf.UninterpretedOption[]; public static create(properties?: { [k: string]: any }): google.protobuf.FileOptions; - public static encode(message: (google.protobuf.FileOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.FileOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.FileOptions|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.FileOptions|{ [k: string]: any }), 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: (google.protobuf.FileOptions|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions; public static from(object: { [k: string]: any }): google.protobuf.FileOptions; public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -915,11 +915,11 @@ export namespace google { public mapEntry?: boolean; public uninterpretedOption?: google.protobuf.UninterpretedOption[]; public static create(properties?: { [k: string]: any }): google.protobuf.MessageOptions; - public static encode(message: (google.protobuf.MessageOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.MessageOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.MessageOptions|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.MessageOptions|{ [k: string]: any }), 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: (google.protobuf.MessageOptions|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions; public static from(object: { [k: string]: any }): google.protobuf.MessageOptions; public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -937,11 +937,11 @@ export namespace google { public weak?: boolean; public uninterpretedOption?: google.protobuf.UninterpretedOption[]; public static create(properties?: { [k: string]: any }): google.protobuf.FieldOptions; - public static encode(message: (google.protobuf.FieldOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.FieldOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.FieldOptions|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.FieldOptions|{ [k: string]: any }), 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: (google.protobuf.FieldOptions|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions; public static from(object: { [k: string]: any }): google.protobuf.FieldOptions; public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -968,11 +968,11 @@ export namespace google { constructor(properties?: { [k: string]: any }); public uninterpretedOption?: google.protobuf.UninterpretedOption[]; public static create(properties?: { [k: string]: any }): google.protobuf.OneofOptions; - public static encode(message: (google.protobuf.OneofOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.OneofOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.OneofOptions|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.OneofOptions|{ [k: string]: any }), 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: (google.protobuf.OneofOptions|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions; public static from(object: { [k: string]: any }): google.protobuf.OneofOptions; public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -986,11 +986,11 @@ export namespace google { public deprecated?: boolean; public uninterpretedOption?: google.protobuf.UninterpretedOption[]; public static create(properties?: { [k: string]: any }): google.protobuf.EnumOptions; - public static encode(message: (google.protobuf.EnumOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.EnumOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.EnumOptions|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.EnumOptions|{ [k: string]: any }), 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: (google.protobuf.EnumOptions|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions; public static from(object: { [k: string]: any }): google.protobuf.EnumOptions; public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -1003,11 +1003,11 @@ export namespace google { public deprecated?: boolean; public uninterpretedOption?: google.protobuf.UninterpretedOption[]; public static create(properties?: { [k: string]: any }): google.protobuf.EnumValueOptions; - public static encode(message: (google.protobuf.EnumValueOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.EnumValueOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.EnumValueOptions|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.EnumValueOptions|{ [k: string]: any }), 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: (google.protobuf.EnumValueOptions|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions; public static from(object: { [k: string]: any }): google.protobuf.EnumValueOptions; public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -1020,11 +1020,11 @@ export namespace google { public deprecated?: boolean; public uninterpretedOption?: google.protobuf.UninterpretedOption[]; public static create(properties?: { [k: string]: any }): google.protobuf.ServiceOptions; - public static encode(message: (google.protobuf.ServiceOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.ServiceOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.ServiceOptions|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.ServiceOptions|{ [k: string]: any }), 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: (google.protobuf.ServiceOptions|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions; public static from(object: { [k: string]: any }): google.protobuf.ServiceOptions; public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -1038,11 +1038,11 @@ export namespace google { public idempotencyLevel?: number; public uninterpretedOption?: google.protobuf.UninterpretedOption[]; public static create(properties?: { [k: string]: any }): google.protobuf.MethodOptions; - public static encode(message: (google.protobuf.MethodOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.MethodOptions|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.MethodOptions|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.MethodOptions|{ [k: string]: any }), 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: (google.protobuf.MethodOptions|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions; public static from(object: { [k: string]: any }): google.protobuf.MethodOptions; public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -1069,11 +1069,11 @@ export namespace google { public stringValue?: Uint8Array; public aggregateValue?: string; public static create(properties?: { [k: string]: any }): google.protobuf.UninterpretedOption; - public static encode(message: (google.protobuf.UninterpretedOption|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.UninterpretedOption|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.UninterpretedOption|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.UninterpretedOption|{ [k: string]: any }), 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: (google.protobuf.UninterpretedOption|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption; public static from(object: { [k: string]: any }): google.protobuf.UninterpretedOption; public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -1088,11 +1088,11 @@ export namespace google { public namePart: string; public isExtension: boolean; public static create(properties?: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart; - public static encode(message: (google.protobuf.UninterpretedOption.NamePart|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.UninterpretedOption.NamePart|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.UninterpretedOption.NamePart|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.UninterpretedOption.NamePart|{ [k: string]: any }), 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: (google.protobuf.UninterpretedOption.NamePart|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart; public static from(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart; public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -1105,11 +1105,11 @@ export namespace google { constructor(properties?: { [k: string]: any }); public location?: google.protobuf.SourceCodeInfo.Location[]; public static create(properties?: { [k: string]: any }): google.protobuf.SourceCodeInfo; - public static encode(message: (google.protobuf.SourceCodeInfo|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.SourceCodeInfo|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.SourceCodeInfo|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.SourceCodeInfo|{ [k: string]: any }), 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: (google.protobuf.SourceCodeInfo|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo; public static from(object: { [k: string]: any }): google.protobuf.SourceCodeInfo; public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -1127,11 +1127,11 @@ export namespace google { public trailingComments?: string; public leadingDetachedComments?: string[]; public static create(properties?: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location; - public static encode(message: (google.protobuf.SourceCodeInfo.Location|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.SourceCodeInfo.Location|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.SourceCodeInfo.Location|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.SourceCodeInfo.Location|{ [k: string]: any }), 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: (google.protobuf.SourceCodeInfo.Location|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location; public static from(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location; public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -1144,11 +1144,11 @@ export namespace google { constructor(properties?: { [k: string]: any }); public annotation?: google.protobuf.GeneratedCodeInfo.Annotation[]; public static create(properties?: { [k: string]: any }): google.protobuf.GeneratedCodeInfo; - public static encode(message: (google.protobuf.GeneratedCodeInfo|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.GeneratedCodeInfo|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.GeneratedCodeInfo|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.GeneratedCodeInfo|{ [k: string]: any }), 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: (google.protobuf.GeneratedCodeInfo|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo; public static from(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo; public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.ConversionOptions): { [k: string]: any }; @@ -1165,11 +1165,11 @@ export namespace google { public begin?: number; public end?: number; public static create(properties?: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation; - public static encode(message: (google.protobuf.GeneratedCodeInfo.Annotation|Object), writer?: $protobuf.Writer): $protobuf.Writer; - public static encodeDelimited(message: (google.protobuf.GeneratedCodeInfo.Annotation|Object), writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: (google.protobuf.GeneratedCodeInfo.Annotation|{ [k: string]: any }), writer?: $protobuf.Writer): $protobuf.Writer; + public static encodeDelimited(message: (google.protobuf.GeneratedCodeInfo.Annotation|{ [k: string]: any }), 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: (google.protobuf.GeneratedCodeInfo.Annotation|Object)): string; + public static verify(message: { [k: string]: any }): string; public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation; public static from(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation; public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.ConversionOptions): { [k: string]: any }; diff --git a/tests/data/test.js b/tests/data/test.js index 2a4e9f18e..39d8efc39 100644 --- a/tests/data/test.js +++ b/tests/data/test.js @@ -55,7 +55,7 @@ $root.jspb = (function() { /** * Encodes the specified Empty message. Does not implicitly {@link jspb.test.Empty.verify|verify} messages. - * @param {jspb.test.Empty|Object} message Empty message or plain object to encode + * @param {jspb.test.Empty|Object.} message Empty message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -67,7 +67,7 @@ $root.jspb = (function() { /** * Encodes the specified Empty message, length delimited. Does not implicitly {@link jspb.test.Empty.verify|verify} messages. - * @param {jspb.test.Empty|Object} message Empty message or plain object to encode + * @param {jspb.test.Empty|Object.} message Empty message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -113,7 +113,7 @@ $root.jspb = (function() { /** * Verifies an Empty message. - * @param {jspb.test.Empty|Object} message Empty message or plain object to verify + * @param {Object.} message Empty object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Empty.verify = function verify(message) { @@ -223,7 +223,7 @@ $root.jspb = (function() { /** * Encodes the specified EnumContainer message. Does not implicitly {@link jspb.test.EnumContainer.verify|verify} messages. - * @param {jspb.test.EnumContainer|Object} message EnumContainer message or plain object to encode + * @param {jspb.test.EnumContainer|Object.} message EnumContainer message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -237,7 +237,7 @@ $root.jspb = (function() { /** * Encodes the specified EnumContainer message, length delimited. Does not implicitly {@link jspb.test.EnumContainer.verify|verify} messages. - * @param {jspb.test.EnumContainer|Object} message EnumContainer message or plain object to encode + * @param {jspb.test.EnumContainer|Object.} message EnumContainer message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -286,7 +286,7 @@ $root.jspb = (function() { /** * Verifies an EnumContainer message. - * @param {jspb.test.EnumContainer|Object} message EnumContainer message or plain object to verify + * @param {Object.} message EnumContainer object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ EnumContainer.verify = function verify(message) { @@ -414,7 +414,7 @@ $root.jspb = (function() { /** * Encodes the specified Simple1 message. Does not implicitly {@link jspb.test.Simple1.verify|verify} messages. - * @param {jspb.test.Simple1|Object} message Simple1 message or plain object to encode + * @param {jspb.test.Simple1|Object.} message Simple1 message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -432,7 +432,7 @@ $root.jspb = (function() { /** * Encodes the specified Simple1 message, length delimited. Does not implicitly {@link jspb.test.Simple1.verify|verify} messages. - * @param {jspb.test.Simple1|Object} message Simple1 message or plain object to encode + * @param {jspb.test.Simple1|Object.} message Simple1 message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -491,7 +491,7 @@ $root.jspb = (function() { /** * Verifies a Simple1 message. - * @param {jspb.test.Simple1|Object} message Simple1 message or plain object to verify + * @param {Object.} message Simple1 object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Simple1.verify = function verify(message) { @@ -629,7 +629,7 @@ $root.jspb = (function() { /** * Encodes the specified Simple2 message. Does not implicitly {@link jspb.test.Simple2.verify|verify} messages. - * @param {jspb.test.Simple2|Object} message Simple2 message or plain object to encode + * @param {jspb.test.Simple2|Object.} message Simple2 message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -645,7 +645,7 @@ $root.jspb = (function() { /** * Encodes the specified Simple2 message, length delimited. Does not implicitly {@link jspb.test.Simple2.verify|verify} messages. - * @param {jspb.test.Simple2|Object} message Simple2 message or plain object to encode + * @param {jspb.test.Simple2|Object.} message Simple2 message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -701,7 +701,7 @@ $root.jspb = (function() { /** * Verifies a Simple2 message. - * @param {jspb.test.Simple2|Object} message Simple2 message or plain object to verify + * @param {Object.} message Simple2 object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Simple2.verify = function verify(message) { @@ -845,7 +845,7 @@ $root.jspb = (function() { /** * Encodes the specified SpecialCases message. Does not implicitly {@link jspb.test.SpecialCases.verify|verify} messages. - * @param {jspb.test.SpecialCases|Object} message SpecialCases message or plain object to encode + * @param {jspb.test.SpecialCases|Object.} message SpecialCases message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -861,7 +861,7 @@ $root.jspb = (function() { /** * Encodes the specified SpecialCases message, length delimited. Does not implicitly {@link jspb.test.SpecialCases.verify|verify} messages. - * @param {jspb.test.SpecialCases|Object} message SpecialCases message or plain object to encode + * @param {jspb.test.SpecialCases|Object.} message SpecialCases message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -927,7 +927,7 @@ $root.jspb = (function() { /** * Verifies a SpecialCases message. - * @param {jspb.test.SpecialCases|Object} message SpecialCases message or plain object to verify + * @param {Object.} message SpecialCases object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ SpecialCases.verify = function verify(message) { @@ -1081,7 +1081,7 @@ $root.jspb = (function() { /** * Encodes the specified OptionalFields message. Does not implicitly {@link jspb.test.OptionalFields.verify|verify} messages. - * @param {jspb.test.OptionalFields|Object} message OptionalFields message or plain object to encode + * @param {jspb.test.OptionalFields|Object.} message OptionalFields message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1104,7 +1104,7 @@ $root.jspb = (function() { /** * Encodes the specified OptionalFields message, length delimited. Does not implicitly {@link jspb.test.OptionalFields.verify|verify} messages. - * @param {jspb.test.OptionalFields|Object} message OptionalFields message or plain object to encode + * @param {jspb.test.OptionalFields|Object.} message OptionalFields message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1171,7 +1171,7 @@ $root.jspb = (function() { /** * Verifies an OptionalFields message. - * @param {jspb.test.OptionalFields|Object} message OptionalFields message or plain object to verify + * @param {Object.} message OptionalFields object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ OptionalFields.verify = function verify(message) { @@ -1339,7 +1339,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message. Does not implicitly {@link jspb.test.OptionalFields.Nested.verify|verify} messages. - * @param {jspb.test.OptionalFields.Nested|Object} message Nested message or plain object to encode + * @param {jspb.test.OptionalFields.Nested|Object.} message Nested message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1353,7 +1353,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message, length delimited. Does not implicitly {@link jspb.test.OptionalFields.Nested.verify|verify} messages. - * @param {jspb.test.OptionalFields.Nested|Object} message Nested message or plain object to encode + * @param {jspb.test.OptionalFields.Nested|Object.} message Nested message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1402,7 +1402,7 @@ $root.jspb = (function() { /** * Verifies a Nested message. - * @param {jspb.test.OptionalFields.Nested|Object} message Nested message or plain object to verify + * @param {Object.} message Nested object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Nested.verify = function verify(message) { @@ -1570,7 +1570,7 @@ $root.jspb = (function() { /** * Encodes the specified HasExtensions message. Does not implicitly {@link jspb.test.HasExtensions.verify|verify} messages. - * @param {jspb.test.HasExtensions|Object} message HasExtensions message or plain object to encode + * @param {jspb.test.HasExtensions|Object.} message HasExtensions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1602,7 +1602,7 @@ $root.jspb = (function() { /** * Encodes the specified HasExtensions message, length delimited. Does not implicitly {@link jspb.test.HasExtensions.verify|verify} messages. - * @param {jspb.test.HasExtensions|Object} message HasExtensions message or plain object to encode + * @param {jspb.test.HasExtensions|Object.} message HasExtensions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1679,7 +1679,7 @@ $root.jspb = (function() { /** * Verifies a HasExtensions message. - * @param {jspb.test.HasExtensions|Object} message HasExtensions message or plain object to verify + * @param {Object.} message HasExtensions object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ HasExtensions.verify = function verify(message) { @@ -1923,7 +1923,7 @@ $root.jspb = (function() { /** * Encodes the specified Complex message. Does not implicitly {@link jspb.test.Complex.verify|verify} messages. - * @param {jspb.test.Complex|Object} message Complex message or plain object to encode + * @param {jspb.test.Complex|Object.} message Complex message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -1945,7 +1945,7 @@ $root.jspb = (function() { /** * Encodes the specified Complex message, length delimited. Does not implicitly {@link jspb.test.Complex.verify|verify} messages. - * @param {jspb.test.Complex|Object} message Complex message or plain object to encode + * @param {jspb.test.Complex|Object.} message Complex message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2014,7 +2014,7 @@ $root.jspb = (function() { /** * Verifies a Complex message. - * @param {jspb.test.Complex|Object} message Complex message or plain object to verify + * @param {Object.} message Complex object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Complex.verify = function verify(message) { @@ -2181,7 +2181,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message. Does not implicitly {@link jspb.test.Complex.Nested.verify|verify} messages. - * @param {jspb.test.Complex.Nested|Object} message Nested message or plain object to encode + * @param {jspb.test.Complex.Nested|Object.} message Nested message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2194,7 +2194,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message, length delimited. Does not implicitly {@link jspb.test.Complex.Nested.verify|verify} messages. - * @param {jspb.test.Complex.Nested|Object} message Nested message or plain object to encode + * @param {jspb.test.Complex.Nested|Object.} message Nested message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2245,7 +2245,7 @@ $root.jspb = (function() { /** * Verifies a Nested message. - * @param {jspb.test.Complex.Nested|Object} message Nested message or plain object to verify + * @param {Object.} message Nested object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Nested.verify = function verify(message) { @@ -2344,7 +2344,7 @@ $root.jspb = (function() { /** * Encodes the specified OuterMessage message. Does not implicitly {@link jspb.test.OuterMessage.verify|verify} messages. - * @param {jspb.test.OuterMessage|Object} message OuterMessage message or plain object to encode + * @param {jspb.test.OuterMessage|Object.} message OuterMessage message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2356,7 +2356,7 @@ $root.jspb = (function() { /** * Encodes the specified OuterMessage message, length delimited. Does not implicitly {@link jspb.test.OuterMessage.verify|verify} messages. - * @param {jspb.test.OuterMessage|Object} message OuterMessage message or plain object to encode + * @param {jspb.test.OuterMessage|Object.} message OuterMessage message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2402,7 +2402,7 @@ $root.jspb = (function() { /** * Verifies an OuterMessage message. - * @param {jspb.test.OuterMessage|Object} message OuterMessage message or plain object to verify + * @param {Object.} message OuterMessage object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ OuterMessage.verify = function verify(message) { @@ -2489,7 +2489,7 @@ $root.jspb = (function() { /** * Encodes the specified Complex message. Does not implicitly {@link jspb.test.OuterMessage.Complex.verify|verify} messages. - * @param {jspb.test.OuterMessage.Complex|Object} message Complex message or plain object to encode + * @param {jspb.test.OuterMessage.Complex|Object.} message Complex message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2503,7 +2503,7 @@ $root.jspb = (function() { /** * Encodes the specified Complex message, length delimited. Does not implicitly {@link jspb.test.OuterMessage.Complex.verify|verify} messages. - * @param {jspb.test.OuterMessage.Complex|Object} message Complex message or plain object to encode + * @param {jspb.test.OuterMessage.Complex|Object.} message Complex message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2552,7 +2552,7 @@ $root.jspb = (function() { /** * Verifies a Complex message. - * @param {jspb.test.OuterMessage.Complex|Object} message Complex message or plain object to verify + * @param {Object.} message Complex object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Complex.verify = function verify(message) { @@ -2658,7 +2658,7 @@ $root.jspb = (function() { /** * Encodes the specified IsExtension message. Does not implicitly {@link jspb.test.IsExtension.verify|verify} messages. - * @param {jspb.test.IsExtension|Object} message IsExtension message or plain object to encode + * @param {jspb.test.IsExtension|Object.} message IsExtension message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2672,7 +2672,7 @@ $root.jspb = (function() { /** * Encodes the specified IsExtension message, length delimited. Does not implicitly {@link jspb.test.IsExtension.verify|verify} messages. - * @param {jspb.test.IsExtension|Object} message IsExtension message or plain object to encode + * @param {jspb.test.IsExtension|Object.} message IsExtension message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2721,7 +2721,7 @@ $root.jspb = (function() { /** * Verifies an IsExtension message. - * @param {jspb.test.IsExtension|Object} message IsExtension message or plain object to verify + * @param {Object.} message IsExtension object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ IsExtension.verify = function verify(message) { @@ -2818,7 +2818,7 @@ $root.jspb = (function() { /** * Encodes the specified IndirectExtension message. Does not implicitly {@link jspb.test.IndirectExtension.verify|verify} messages. - * @param {jspb.test.IndirectExtension|Object} message IndirectExtension message or plain object to encode + * @param {jspb.test.IndirectExtension|Object.} message IndirectExtension message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2830,7 +2830,7 @@ $root.jspb = (function() { /** * Encodes the specified IndirectExtension message, length delimited. Does not implicitly {@link jspb.test.IndirectExtension.verify|verify} messages. - * @param {jspb.test.IndirectExtension|Object} message IndirectExtension message or plain object to encode + * @param {jspb.test.IndirectExtension|Object.} message IndirectExtension message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -2876,7 +2876,7 @@ $root.jspb = (function() { /** * Verifies an IndirectExtension message. - * @param {jspb.test.IndirectExtension|Object} message IndirectExtension message or plain object to verify + * @param {Object.} message IndirectExtension object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ IndirectExtension.verify = function verify(message) { @@ -3001,7 +3001,7 @@ $root.jspb = (function() { /** * Encodes the specified DefaultValues message. Does not implicitly {@link jspb.test.DefaultValues.verify|verify} messages. - * @param {jspb.test.DefaultValues|Object} message DefaultValues message or plain object to encode + * @param {jspb.test.DefaultValues|Object.} message DefaultValues message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3025,7 +3025,7 @@ $root.jspb = (function() { /** * Encodes the specified DefaultValues message, length delimited. Does not implicitly {@link jspb.test.DefaultValues.verify|verify} messages. - * @param {jspb.test.DefaultValues|Object} message DefaultValues message or plain object to encode + * @param {jspb.test.DefaultValues|Object.} message DefaultValues message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3089,7 +3089,7 @@ $root.jspb = (function() { /** * Verifies a DefaultValues message. - * @param {jspb.test.DefaultValues|Object} message DefaultValues message or plain object to verify + * @param {Object.} message DefaultValues object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ DefaultValues.verify = function verify(message) { @@ -3324,7 +3324,7 @@ $root.jspb = (function() { /** * Encodes the specified FloatingPointFields message. Does not implicitly {@link jspb.test.FloatingPointFields.verify|verify} messages. - * @param {jspb.test.FloatingPointFields|Object} message FloatingPointFields message or plain object to encode + * @param {jspb.test.FloatingPointFields|Object.} message FloatingPointFields message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3352,7 +3352,7 @@ $root.jspb = (function() { /** * Encodes the specified FloatingPointFields message, length delimited. Does not implicitly {@link jspb.test.FloatingPointFields.verify|verify} messages. - * @param {jspb.test.FloatingPointFields|Object} message FloatingPointFields message or plain object to encode + * @param {jspb.test.FloatingPointFields|Object.} message FloatingPointFields message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3440,7 +3440,7 @@ $root.jspb = (function() { /** * Verifies a FloatingPointFields message. - * @param {jspb.test.FloatingPointFields|Object} message FloatingPointFields message or plain object to verify + * @param {Object.} message FloatingPointFields object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ FloatingPointFields.verify = function verify(message) { @@ -3662,7 +3662,7 @@ $root.jspb = (function() { /** * Encodes the specified TestClone message. Does not implicitly {@link jspb.test.TestClone.verify|verify} messages. - * @param {jspb.test.TestClone|Object} message TestClone message or plain object to encode + * @param {jspb.test.TestClone|Object.} message TestClone message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3687,7 +3687,7 @@ $root.jspb = (function() { /** * Encodes the specified TestClone message, length delimited. Does not implicitly {@link jspb.test.TestClone.verify|verify} messages. - * @param {jspb.test.TestClone|Object} message TestClone message or plain object to encode + * @param {jspb.test.TestClone|Object.} message TestClone message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3753,7 +3753,7 @@ $root.jspb = (function() { /** * Verifies a TestClone message. - * @param {jspb.test.TestClone|Object} message TestClone message or plain object to verify + * @param {Object.} message TestClone object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ TestClone.verify = function verify(message) { @@ -3928,7 +3928,7 @@ $root.jspb = (function() { /** * Encodes the specified CloneExtension message. Does not implicitly {@link jspb.test.CloneExtension.verify|verify} messages. - * @param {jspb.test.CloneExtension|Object} message CloneExtension message or plain object to encode + * @param {jspb.test.CloneExtension|Object.} message CloneExtension message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3942,7 +3942,7 @@ $root.jspb = (function() { /** * Encodes the specified CloneExtension message, length delimited. Does not implicitly {@link jspb.test.CloneExtension.verify|verify} messages. - * @param {jspb.test.CloneExtension|Object} message CloneExtension message or plain object to encode + * @param {jspb.test.CloneExtension|Object.} message CloneExtension message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -3991,7 +3991,7 @@ $root.jspb = (function() { /** * Verifies a CloneExtension message. - * @param {jspb.test.CloneExtension|Object} message CloneExtension message or plain object to verify + * @param {Object.} message CloneExtension object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ CloneExtension.verify = function verify(message) { @@ -4133,7 +4133,7 @@ $root.jspb = (function() { /** * Encodes the specified TestGroup message. Does not implicitly {@link jspb.test.TestGroup.verify|verify} messages. - * @param {jspb.test.TestGroup|Object} message TestGroup message or plain object to encode + * @param {jspb.test.TestGroup|Object.} message TestGroup message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4156,7 +4156,7 @@ $root.jspb = (function() { /** * Encodes the specified TestGroup message, length delimited. Does not implicitly {@link jspb.test.TestGroup.verify|verify} messages. - * @param {jspb.test.TestGroup|Object} message TestGroup message or plain object to encode + * @param {jspb.test.TestGroup|Object.} message TestGroup message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4226,7 +4226,7 @@ $root.jspb = (function() { /** * Verifies a TestGroup message. - * @param {jspb.test.TestGroup|Object} message TestGroup message or plain object to verify + * @param {Object.} message TestGroup object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ TestGroup.verify = function verify(message) { @@ -4407,7 +4407,7 @@ $root.jspb = (function() { /** * Encodes the specified RepeatedGroup message. Does not implicitly {@link jspb.test.TestGroup.RepeatedGroup.verify|verify} messages. - * @param {jspb.test.TestGroup.RepeatedGroup|Object} message RepeatedGroup message or plain object to encode + * @param {jspb.test.TestGroup.RepeatedGroup|Object.} message RepeatedGroup message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4423,7 +4423,7 @@ $root.jspb = (function() { /** * Encodes the specified RepeatedGroup message, length delimited. Does not implicitly {@link jspb.test.TestGroup.RepeatedGroup.verify|verify} messages. - * @param {jspb.test.TestGroup.RepeatedGroup|Object} message RepeatedGroup message or plain object to encode + * @param {jspb.test.TestGroup.RepeatedGroup|Object.} message RepeatedGroup message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4486,7 +4486,7 @@ $root.jspb = (function() { /** * Verifies a RepeatedGroup message. - * @param {jspb.test.TestGroup.RepeatedGroup|Object} message RepeatedGroup message or plain object to verify + * @param {Object.} message RepeatedGroup object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ RepeatedGroup.verify = function verify(message) { @@ -4609,7 +4609,7 @@ $root.jspb = (function() { /** * Encodes the specified RequiredGroup message. Does not implicitly {@link jspb.test.TestGroup.RequiredGroup.verify|verify} messages. - * @param {jspb.test.TestGroup.RequiredGroup|Object} message RequiredGroup message or plain object to encode + * @param {jspb.test.TestGroup.RequiredGroup|Object.} message RequiredGroup message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4622,7 +4622,7 @@ $root.jspb = (function() { /** * Encodes the specified RequiredGroup message, length delimited. Does not implicitly {@link jspb.test.TestGroup.RequiredGroup.verify|verify} messages. - * @param {jspb.test.TestGroup.RequiredGroup|Object} message RequiredGroup message or plain object to encode + * @param {jspb.test.TestGroup.RequiredGroup|Object.} message RequiredGroup message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4675,7 +4675,7 @@ $root.jspb = (function() { /** * Verifies a RequiredGroup message. - * @param {jspb.test.TestGroup.RequiredGroup|Object} message RequiredGroup message or plain object to verify + * @param {Object.} message RequiredGroup object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ RequiredGroup.verify = function verify(message) { @@ -4777,7 +4777,7 @@ $root.jspb = (function() { /** * Encodes the specified OptionalGroup message. Does not implicitly {@link jspb.test.TestGroup.OptionalGroup.verify|verify} messages. - * @param {jspb.test.TestGroup.OptionalGroup|Object} message OptionalGroup message or plain object to encode + * @param {jspb.test.TestGroup.OptionalGroup|Object.} message OptionalGroup message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4790,7 +4790,7 @@ $root.jspb = (function() { /** * Encodes the specified OptionalGroup message, length delimited. Does not implicitly {@link jspb.test.TestGroup.OptionalGroup.verify|verify} messages. - * @param {jspb.test.TestGroup.OptionalGroup|Object} message OptionalGroup message or plain object to encode + * @param {jspb.test.TestGroup.OptionalGroup|Object.} message OptionalGroup message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4843,7 +4843,7 @@ $root.jspb = (function() { /** * Verifies an OptionalGroup message. - * @param {jspb.test.TestGroup.OptionalGroup|Object} message OptionalGroup message or plain object to verify + * @param {Object.} message OptionalGroup object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ OptionalGroup.verify = function verify(message) { @@ -4953,7 +4953,7 @@ $root.jspb = (function() { /** * Encodes the specified TestGroup1 message. Does not implicitly {@link jspb.test.TestGroup1.verify|verify} messages. - * @param {jspb.test.TestGroup1|Object} message TestGroup1 message or plain object to encode + * @param {jspb.test.TestGroup1|Object.} message TestGroup1 message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -4967,7 +4967,7 @@ $root.jspb = (function() { /** * Encodes the specified TestGroup1 message, length delimited. Does not implicitly {@link jspb.test.TestGroup1.verify|verify} messages. - * @param {jspb.test.TestGroup1|Object} message TestGroup1 message or plain object to encode + * @param {jspb.test.TestGroup1|Object.} message TestGroup1 message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5016,7 +5016,7 @@ $root.jspb = (function() { /** * Verifies a TestGroup1 message. - * @param {jspb.test.TestGroup1|Object} message TestGroup1 message or plain object to verify + * @param {Object.} message TestGroup1 object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ TestGroup1.verify = function verify(message) { @@ -5131,7 +5131,7 @@ $root.jspb = (function() { /** * Encodes the specified TestReservedNames message. Does not implicitly {@link jspb.test.TestReservedNames.verify|verify} messages. - * @param {jspb.test.TestReservedNames|Object} message TestReservedNames message or plain object to encode + * @param {jspb.test.TestReservedNames|Object.} message TestReservedNames message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5147,7 +5147,7 @@ $root.jspb = (function() { /** * Encodes the specified TestReservedNames message, length delimited. Does not implicitly {@link jspb.test.TestReservedNames.verify|verify} messages. - * @param {jspb.test.TestReservedNames|Object} message TestReservedNames message or plain object to encode + * @param {jspb.test.TestReservedNames|Object.} message TestReservedNames message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5199,7 +5199,7 @@ $root.jspb = (function() { /** * Verifies a TestReservedNames message. - * @param {jspb.test.TestReservedNames|Object} message TestReservedNames message or plain object to verify + * @param {Object.} message TestReservedNames object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ TestReservedNames.verify = function verify(message) { @@ -5305,7 +5305,7 @@ $root.jspb = (function() { /** * Encodes the specified TestReservedNamesExtension message. Does not implicitly {@link jspb.test.TestReservedNamesExtension.verify|verify} messages. - * @param {jspb.test.TestReservedNamesExtension|Object} message TestReservedNamesExtension message or plain object to encode + * @param {jspb.test.TestReservedNamesExtension|Object.} message TestReservedNamesExtension message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5317,7 +5317,7 @@ $root.jspb = (function() { /** * Encodes the specified TestReservedNamesExtension message, length delimited. Does not implicitly {@link jspb.test.TestReservedNamesExtension.verify|verify} messages. - * @param {jspb.test.TestReservedNamesExtension|Object} message TestReservedNamesExtension message or plain object to encode + * @param {jspb.test.TestReservedNamesExtension|Object.} message TestReservedNamesExtension message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5363,7 +5363,7 @@ $root.jspb = (function() { /** * Verifies a TestReservedNamesExtension message. - * @param {jspb.test.TestReservedNamesExtension|Object} message TestReservedNamesExtension message or plain object to verify + * @param {Object.} message TestReservedNamesExtension object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ TestReservedNamesExtension.verify = function verify(message) { @@ -5555,7 +5555,7 @@ $root.jspb = (function() { /** * Encodes the specified TestMessageWithOneof message. Does not implicitly {@link jspb.test.TestMessageWithOneof.verify|verify} messages. - * @param {jspb.test.TestMessageWithOneof|Object} message TestMessageWithOneof message or plain object to encode + * @param {jspb.test.TestMessageWithOneof|Object.} message TestMessageWithOneof message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5588,7 +5588,7 @@ $root.jspb = (function() { /** * Encodes the specified TestMessageWithOneof message, length delimited. Does not implicitly {@link jspb.test.TestMessageWithOneof.verify|verify} messages. - * @param {jspb.test.TestMessageWithOneof|Object} message TestMessageWithOneof message or plain object to encode + * @param {jspb.test.TestMessageWithOneof|Object.} message TestMessageWithOneof message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5666,7 +5666,7 @@ $root.jspb = (function() { /** * Verifies a TestMessageWithOneof message. - * @param {jspb.test.TestMessageWithOneof|Object} message TestMessageWithOneof message or plain object to verify + * @param {Object.} message TestMessageWithOneof object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ TestMessageWithOneof.verify = function verify(message) { @@ -5796,17 +5796,8 @@ $root.jspb = (function() { var object = {}; if (options.arrays || options.defaults) object.repeatedField = []; - if (options.defaults) { - object.pone = ""; - object.pthree = ""; - object.rone = null; - object.rtwo = ""; + if (options.defaults) object.normalField = false; - object.aone = 1234; - object.atwo = 0; - object.bone = 0; - object.btwo = 1234; - } if (message.pone !== undefined && message.pone !== null && message.hasOwnProperty("pone")) { object.pone = message.pone; if (options.oneofs) @@ -5914,7 +5905,7 @@ $root.jspb = (function() { /** * Encodes the specified TestEndsWithBytes message. Does not implicitly {@link jspb.test.TestEndsWithBytes.verify|verify} messages. - * @param {jspb.test.TestEndsWithBytes|Object} message TestEndsWithBytes message or plain object to encode + * @param {jspb.test.TestEndsWithBytes|Object.} message TestEndsWithBytes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5930,7 +5921,7 @@ $root.jspb = (function() { /** * Encodes the specified TestEndsWithBytes message, length delimited. Does not implicitly {@link jspb.test.TestEndsWithBytes.verify|verify} messages. - * @param {jspb.test.TestEndsWithBytes|Object} message TestEndsWithBytes message or plain object to encode + * @param {jspb.test.TestEndsWithBytes|Object.} message TestEndsWithBytes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -5982,7 +5973,7 @@ $root.jspb = (function() { /** * Verifies a TestEndsWithBytes message. - * @param {jspb.test.TestEndsWithBytes|Object} message TestEndsWithBytes message or plain object to verify + * @param {Object.} message TestEndsWithBytes object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ TestEndsWithBytes.verify = function verify(message) { @@ -6171,7 +6162,7 @@ $root.jspb = (function() { /** * Encodes the specified TestMapFieldsNoBinary message. Does not implicitly {@link jspb.test.TestMapFieldsNoBinary.verify|verify} messages. - * @param {jspb.test.TestMapFieldsNoBinary|Object} message TestMapFieldsNoBinary message or plain object to encode + * @param {jspb.test.TestMapFieldsNoBinary|Object.} message TestMapFieldsNoBinary message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6222,7 +6213,7 @@ $root.jspb = (function() { /** * Encodes the specified TestMapFieldsNoBinary message, length delimited. Does not implicitly {@link jspb.test.TestMapFieldsNoBinary.verify|verify} messages. - * @param {jspb.test.TestMapFieldsNoBinary|Object} message TestMapFieldsNoBinary message or plain object to encode + * @param {jspb.test.TestMapFieldsNoBinary|Object.} message TestMapFieldsNoBinary message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6359,7 +6350,7 @@ $root.jspb = (function() { /** * Verifies a TestMapFieldsNoBinary message. - * @param {jspb.test.TestMapFieldsNoBinary|Object} message TestMapFieldsNoBinary message or plain object to verify + * @param {Object.} message TestMapFieldsNoBinary object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ TestMapFieldsNoBinary.verify = function verify(message) { @@ -6765,7 +6756,7 @@ $root.jspb = (function() { /** * Encodes the specified MapValueMessageNoBinary message. Does not implicitly {@link jspb.test.MapValueMessageNoBinary.verify|verify} messages. - * @param {jspb.test.MapValueMessageNoBinary|Object} message MapValueMessageNoBinary message or plain object to encode + * @param {jspb.test.MapValueMessageNoBinary|Object.} message MapValueMessageNoBinary message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6779,7 +6770,7 @@ $root.jspb = (function() { /** * Encodes the specified MapValueMessageNoBinary message, length delimited. Does not implicitly {@link jspb.test.MapValueMessageNoBinary.verify|verify} messages. - * @param {jspb.test.MapValueMessageNoBinary|Object} message MapValueMessageNoBinary message or plain object to encode + * @param {jspb.test.MapValueMessageNoBinary|Object.} message MapValueMessageNoBinary message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6828,7 +6819,7 @@ $root.jspb = (function() { /** * Verifies a MapValueMessageNoBinary message. - * @param {jspb.test.MapValueMessageNoBinary|Object} message MapValueMessageNoBinary message or plain object to verify + * @param {Object.} message MapValueMessageNoBinary object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ MapValueMessageNoBinary.verify = function verify(message) { @@ -6925,7 +6916,7 @@ $root.jspb = (function() { /** * Encodes the specified Deeply message. Does not implicitly {@link jspb.test.Deeply.verify|verify} messages. - * @param {jspb.test.Deeply|Object} message Deeply message or plain object to encode + * @param {jspb.test.Deeply|Object.} message Deeply message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6937,7 +6928,7 @@ $root.jspb = (function() { /** * Encodes the specified Deeply message, length delimited. Does not implicitly {@link jspb.test.Deeply.verify|verify} messages. - * @param {jspb.test.Deeply|Object} message Deeply message or plain object to encode + * @param {jspb.test.Deeply|Object.} message Deeply message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -6983,7 +6974,7 @@ $root.jspb = (function() { /** * Verifies a Deeply message. - * @param {jspb.test.Deeply|Object} message Deeply message or plain object to verify + * @param {Object.} message Deeply object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Deeply.verify = function verify(message) { @@ -7064,7 +7055,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message. Does not implicitly {@link jspb.test.Deeply.Nested.verify|verify} messages. - * @param {jspb.test.Deeply.Nested|Object} message Nested message or plain object to encode + * @param {jspb.test.Deeply.Nested|Object.} message Nested message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7076,7 +7067,7 @@ $root.jspb = (function() { /** * Encodes the specified Nested message, length delimited. Does not implicitly {@link jspb.test.Deeply.Nested.verify|verify} messages. - * @param {jspb.test.Deeply.Nested|Object} message Nested message or plain object to encode + * @param {jspb.test.Deeply.Nested|Object.} message Nested message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7122,7 +7113,7 @@ $root.jspb = (function() { /** * Verifies a Nested message. - * @param {jspb.test.Deeply.Nested|Object} message Nested message or plain object to verify + * @param {Object.} message Nested object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Nested.verify = function verify(message) { @@ -7209,7 +7200,7 @@ $root.jspb = (function() { /** * Encodes the specified Message message. Does not implicitly {@link jspb.test.Deeply.Nested.Message.verify|verify} messages. - * @param {jspb.test.Deeply.Nested.Message|Object} message Message message or plain object to encode + * @param {jspb.test.Deeply.Nested.Message|Object.} message Message message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7223,7 +7214,7 @@ $root.jspb = (function() { /** * Encodes the specified Message message, length delimited. Does not implicitly {@link jspb.test.Deeply.Nested.Message.verify|verify} messages. - * @param {jspb.test.Deeply.Nested.Message|Object} message Message message or plain object to encode + * @param {jspb.test.Deeply.Nested.Message|Object.} message Message message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7272,7 +7263,7 @@ $root.jspb = (function() { /** * Verifies a Message message. - * @param {jspb.test.Deeply.Nested.Message|Object} message Message message or plain object to verify + * @param {Object.} message Message object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Message.verify = function verify(message) { @@ -7410,7 +7401,7 @@ $root.google = (function() { /** * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. - * @param {google.protobuf.FileDescriptorSet|Object} message FileDescriptorSet message or plain object to encode + * @param {google.protobuf.FileDescriptorSet|Object.} message FileDescriptorSet message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7425,7 +7416,7 @@ $root.google = (function() { /** * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. - * @param {google.protobuf.FileDescriptorSet|Object} message FileDescriptorSet message or plain object to encode + * @param {google.protobuf.FileDescriptorSet|Object.} message FileDescriptorSet message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7476,7 +7467,7 @@ $root.google = (function() { /** * Verifies a FileDescriptorSet message. - * @param {google.protobuf.FileDescriptorSet|Object} message FileDescriptorSet message or plain object to verify + * @param {Object.} message FileDescriptorSet object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ FileDescriptorSet.verify = function verify(message) { @@ -7673,7 +7664,7 @@ $root.google = (function() { /** * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. - * @param {google.protobuf.FileDescriptorProto|Object} message FileDescriptorProto message or plain object to encode + * @param {google.protobuf.FileDescriptorProto|Object.} message FileDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7716,7 +7707,7 @@ $root.google = (function() { /** * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. - * @param {google.protobuf.FileDescriptorProto|Object} message FileDescriptorProto message or plain object to encode + * @param {google.protobuf.FileDescriptorProto|Object.} message FileDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -7822,7 +7813,7 @@ $root.google = (function() { /** * Verifies a FileDescriptorProto message. - * @param {google.protobuf.FileDescriptorProto|Object} message FileDescriptorProto message or plain object to verify + * @param {Object.} message FileDescriptorProto object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ FileDescriptorProto.verify = function verify(message) { @@ -8196,7 +8187,7 @@ $root.google = (function() { /** * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. - * @param {google.protobuf.DescriptorProto|Object} message DescriptorProto message or plain object to encode + * @param {google.protobuf.DescriptorProto|Object.} message DescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8236,7 +8227,7 @@ $root.google = (function() { /** * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. - * @param {google.protobuf.DescriptorProto|Object} message DescriptorProto message or plain object to encode + * @param {google.protobuf.DescriptorProto|Object.} message DescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8328,7 +8319,7 @@ $root.google = (function() { /** * Verifies a DescriptorProto message. - * @param {google.protobuf.DescriptorProto|Object} message DescriptorProto message or plain object to verify + * @param {Object.} message DescriptorProto object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ DescriptorProto.verify = function verify(message) { @@ -8645,7 +8636,7 @@ $root.google = (function() { /** * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. - * @param {google.protobuf.DescriptorProto.ExtensionRange|Object} message ExtensionRange message or plain object to encode + * @param {google.protobuf.DescriptorProto.ExtensionRange|Object.} message ExtensionRange message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8661,7 +8652,7 @@ $root.google = (function() { /** * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. - * @param {google.protobuf.DescriptorProto.ExtensionRange|Object} message ExtensionRange message or plain object to encode + * @param {google.protobuf.DescriptorProto.ExtensionRange|Object.} message ExtensionRange message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8713,7 +8704,7 @@ $root.google = (function() { /** * Verifies an ExtensionRange message. - * @param {google.protobuf.DescriptorProto.ExtensionRange|Object} message ExtensionRange message or plain object to verify + * @param {Object.} message ExtensionRange object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ ExtensionRange.verify = function verify(message) { @@ -8831,7 +8822,7 @@ $root.google = (function() { /** * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. - * @param {google.protobuf.DescriptorProto.ReservedRange|Object} message ReservedRange message or plain object to encode + * @param {google.protobuf.DescriptorProto.ReservedRange|Object.} message ReservedRange message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8847,7 +8838,7 @@ $root.google = (function() { /** * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. - * @param {google.protobuf.DescriptorProto.ReservedRange|Object} message ReservedRange message or plain object to encode + * @param {google.protobuf.DescriptorProto.ReservedRange|Object.} message ReservedRange message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -8899,7 +8890,7 @@ $root.google = (function() { /** * Verifies a ReservedRange message. - * @param {google.protobuf.DescriptorProto.ReservedRange|Object} message ReservedRange message or plain object to verify + * @param {Object.} message ReservedRange object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ ReservedRange.verify = function verify(message) { @@ -9075,7 +9066,7 @@ $root.google = (function() { /** * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. - * @param {google.protobuf.FieldDescriptorProto|Object} message FieldDescriptorProto message or plain object to encode + * @param {google.protobuf.FieldDescriptorProto|Object.} message FieldDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9107,7 +9098,7 @@ $root.google = (function() { /** * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. - * @param {google.protobuf.FieldDescriptorProto|Object} message FieldDescriptorProto message or plain object to encode + * @param {google.protobuf.FieldDescriptorProto|Object.} message FieldDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9183,7 +9174,7 @@ $root.google = (function() { /** * Verifies a FieldDescriptorProto message. - * @param {google.protobuf.FieldDescriptorProto|Object} message FieldDescriptorProto message or plain object to verify + * @param {Object.} message FieldDescriptorProto object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ FieldDescriptorProto.verify = function verify(message) { @@ -9550,7 +9541,7 @@ $root.google = (function() { /** * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. - * @param {google.protobuf.OneofDescriptorProto|Object} message OneofDescriptorProto message or plain object to encode + * @param {google.protobuf.OneofDescriptorProto|Object.} message OneofDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9566,7 +9557,7 @@ $root.google = (function() { /** * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. - * @param {google.protobuf.OneofDescriptorProto|Object} message OneofDescriptorProto message or plain object to encode + * @param {google.protobuf.OneofDescriptorProto|Object.} message OneofDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9618,7 +9609,7 @@ $root.google = (function() { /** * Verifies an OneofDescriptorProto message. - * @param {google.protobuf.OneofDescriptorProto|Object} message OneofDescriptorProto message or plain object to verify + * @param {Object.} message OneofDescriptorProto object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ OneofDescriptorProto.verify = function verify(message) { @@ -9753,7 +9744,7 @@ $root.google = (function() { /** * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. - * @param {google.protobuf.EnumDescriptorProto|Object} message EnumDescriptorProto message or plain object to encode + * @param {google.protobuf.EnumDescriptorProto|Object.} message EnumDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9772,7 +9763,7 @@ $root.google = (function() { /** * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. - * @param {google.protobuf.EnumDescriptorProto|Object} message EnumDescriptorProto message or plain object to encode + * @param {google.protobuf.EnumDescriptorProto|Object.} message EnumDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -9829,7 +9820,7 @@ $root.google = (function() { /** * Verifies an EnumDescriptorProto message. - * @param {google.protobuf.EnumDescriptorProto|Object} message EnumDescriptorProto message or plain object to verify + * @param {Object.} message EnumDescriptorProto object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ EnumDescriptorProto.verify = function verify(message) { @@ -9989,7 +9980,7 @@ $root.google = (function() { /** * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. - * @param {google.protobuf.EnumValueDescriptorProto|Object} message EnumValueDescriptorProto message or plain object to encode + * @param {google.protobuf.EnumValueDescriptorProto|Object.} message EnumValueDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10007,7 +9998,7 @@ $root.google = (function() { /** * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. - * @param {google.protobuf.EnumValueDescriptorProto|Object} message EnumValueDescriptorProto message or plain object to encode + * @param {google.protobuf.EnumValueDescriptorProto|Object.} message EnumValueDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10062,7 +10053,7 @@ $root.google = (function() { /** * Verifies an EnumValueDescriptorProto message. - * @param {google.protobuf.EnumValueDescriptorProto|Object} message EnumValueDescriptorProto message or plain object to verify + * @param {Object.} message EnumValueDescriptorProto object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ EnumValueDescriptorProto.verify = function verify(message) { @@ -10205,7 +10196,7 @@ $root.google = (function() { /** * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. - * @param {google.protobuf.ServiceDescriptorProto|Object} message ServiceDescriptorProto message or plain object to encode + * @param {google.protobuf.ServiceDescriptorProto|Object.} message ServiceDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10224,7 +10215,7 @@ $root.google = (function() { /** * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. - * @param {google.protobuf.ServiceDescriptorProto|Object} message ServiceDescriptorProto message or plain object to encode + * @param {google.protobuf.ServiceDescriptorProto|Object.} message ServiceDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10281,7 +10272,7 @@ $root.google = (function() { /** * Verifies a ServiceDescriptorProto message. - * @param {google.protobuf.ServiceDescriptorProto|Object} message ServiceDescriptorProto message or plain object to verify + * @param {Object.} message ServiceDescriptorProto object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ ServiceDescriptorProto.verify = function verify(message) { @@ -10459,7 +10450,7 @@ $root.google = (function() { /** * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. - * @param {google.protobuf.MethodDescriptorProto|Object} message MethodDescriptorProto message or plain object to encode + * @param {google.protobuf.MethodDescriptorProto|Object.} message MethodDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10483,7 +10474,7 @@ $root.google = (function() { /** * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. - * @param {google.protobuf.MethodDescriptorProto|Object} message MethodDescriptorProto message or plain object to encode + * @param {google.protobuf.MethodDescriptorProto|Object.} message MethodDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10547,7 +10538,7 @@ $root.google = (function() { /** * Verifies a MethodDescriptorProto message. - * @param {google.protobuf.MethodDescriptorProto|Object} message MethodDescriptorProto message or plain object to verify + * @param {Object.} message MethodDescriptorProto object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ MethodDescriptorProto.verify = function verify(message) { @@ -10786,7 +10777,7 @@ $root.google = (function() { /** * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. - * @param {google.protobuf.FileOptions|Object} message FileOptions message or plain object to encode + * @param {google.protobuf.FileOptions|Object.} message FileOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10829,7 +10820,7 @@ $root.google = (function() { /** * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. - * @param {google.protobuf.FileOptions|Object} message FileOptions message or plain object to encode + * @param {google.protobuf.FileOptions|Object.} message FileOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -10922,7 +10913,7 @@ $root.google = (function() { /** * Verifies a FileOptions message. - * @param {google.protobuf.FileOptions|Object} message FileOptions message or plain object to verify + * @param {Object.} message FileOptions object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ FileOptions.verify = function verify(message) { @@ -11220,7 +11211,7 @@ $root.google = (function() { /** * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. - * @param {google.protobuf.MessageOptions|Object} message MessageOptions message or plain object to encode + * @param {google.protobuf.MessageOptions|Object.} message MessageOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11243,7 +11234,7 @@ $root.google = (function() { /** * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. - * @param {google.protobuf.MessageOptions|Object} message MessageOptions message or plain object to encode + * @param {google.protobuf.MessageOptions|Object.} message MessageOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11306,7 +11297,7 @@ $root.google = (function() { /** * Verifies a MessageOptions message. - * @param {google.protobuf.MessageOptions|Object} message MessageOptions message or plain object to verify + * @param {Object.} message MessageOptions object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ MessageOptions.verify = function verify(message) { @@ -11503,7 +11494,7 @@ $root.google = (function() { /** * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. - * @param {google.protobuf.FieldOptions|Object} message FieldOptions message or plain object to encode + * @param {google.protobuf.FieldOptions|Object.} message FieldOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11530,7 +11521,7 @@ $root.google = (function() { /** * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. - * @param {google.protobuf.FieldOptions|Object} message FieldOptions message or plain object to encode + * @param {google.protobuf.FieldOptions|Object.} message FieldOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11599,7 +11590,7 @@ $root.google = (function() { /** * Verifies a FieldOptions message. - * @param {google.protobuf.FieldOptions|Object} message FieldOptions message or plain object to verify + * @param {Object.} message FieldOptions object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ FieldOptions.verify = function verify(message) { @@ -11844,7 +11835,7 @@ $root.google = (function() { /** * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. - * @param {google.protobuf.OneofOptions|Object} message OneofOptions message or plain object to encode + * @param {google.protobuf.OneofOptions|Object.} message OneofOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11859,7 +11850,7 @@ $root.google = (function() { /** * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. - * @param {google.protobuf.OneofOptions|Object} message OneofOptions message or plain object to encode + * @param {google.protobuf.OneofOptions|Object.} message OneofOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -11910,7 +11901,7 @@ $root.google = (function() { /** * Verifies an OneofOptions message. - * @param {google.protobuf.OneofOptions|Object} message OneofOptions message or plain object to verify + * @param {Object.} message OneofOptions object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ OneofOptions.verify = function verify(message) { @@ -12054,7 +12045,7 @@ $root.google = (function() { /** * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. - * @param {google.protobuf.EnumOptions|Object} message EnumOptions message or plain object to encode + * @param {google.protobuf.EnumOptions|Object.} message EnumOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12075,7 +12066,7 @@ $root.google = (function() { /** * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. - * @param {google.protobuf.EnumOptions|Object} message EnumOptions message or plain object to encode + * @param {google.protobuf.EnumOptions|Object.} message EnumOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12135,7 +12126,7 @@ $root.google = (function() { /** * Verifies an EnumOptions message. - * @param {google.protobuf.EnumOptions|Object} message EnumOptions message or plain object to verify + * @param {Object.} message EnumOptions object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ EnumOptions.verify = function verify(message) { @@ -12292,7 +12283,7 @@ $root.google = (function() { /** * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. - * @param {google.protobuf.EnumValueOptions|Object} message EnumValueOptions message or plain object to encode + * @param {google.protobuf.EnumValueOptions|Object.} message EnumValueOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12309,7 +12300,7 @@ $root.google = (function() { /** * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. - * @param {google.protobuf.EnumValueOptions|Object} message EnumValueOptions message or plain object to encode + * @param {google.protobuf.EnumValueOptions|Object.} message EnumValueOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12363,7 +12354,7 @@ $root.google = (function() { /** * Verifies an EnumValueOptions message. - * @param {google.protobuf.EnumValueOptions|Object} message EnumValueOptions message or plain object to verify + * @param {Object.} message EnumValueOptions object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ EnumValueOptions.verify = function verify(message) { @@ -12503,7 +12494,7 @@ $root.google = (function() { /** * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. - * @param {google.protobuf.ServiceOptions|Object} message ServiceOptions message or plain object to encode + * @param {google.protobuf.ServiceOptions|Object.} message ServiceOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12520,7 +12511,7 @@ $root.google = (function() { /** * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. - * @param {google.protobuf.ServiceOptions|Object} message ServiceOptions message or plain object to encode + * @param {google.protobuf.ServiceOptions|Object.} message ServiceOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12574,7 +12565,7 @@ $root.google = (function() { /** * Verifies a ServiceOptions message. - * @param {google.protobuf.ServiceOptions|Object} message ServiceOptions message or plain object to verify + * @param {Object.} message ServiceOptions object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ ServiceOptions.verify = function verify(message) { @@ -12721,7 +12712,7 @@ $root.google = (function() { /** * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. - * @param {google.protobuf.MethodOptions|Object} message MethodOptions message or plain object to encode + * @param {google.protobuf.MethodOptions|Object.} message MethodOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12740,7 +12731,7 @@ $root.google = (function() { /** * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. - * @param {google.protobuf.MethodOptions|Object} message MethodOptions message or plain object to encode + * @param {google.protobuf.MethodOptions|Object.} message MethodOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -12797,7 +12788,7 @@ $root.google = (function() { /** * Verifies a MethodOptions message. - * @param {google.protobuf.MethodOptions|Object} message MethodOptions message or plain object to verify + * @param {Object.} message MethodOptions object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ MethodOptions.verify = function verify(message) { @@ -13011,7 +13002,7 @@ $root.google = (function() { /** * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. - * @param {google.protobuf.UninterpretedOption|Object} message UninterpretedOption message or plain object to encode + * @param {google.protobuf.UninterpretedOption|Object.} message UninterpretedOption message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13038,7 +13029,7 @@ $root.google = (function() { /** * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. - * @param {google.protobuf.UninterpretedOption|Object} message UninterpretedOption message or plain object to encode + * @param {google.protobuf.UninterpretedOption|Object.} message UninterpretedOption message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13107,7 +13098,7 @@ $root.google = (function() { /** * Verifies an UninterpretedOption message. - * @param {google.protobuf.UninterpretedOption|Object} message UninterpretedOption message or plain object to verify + * @param {Object.} message UninterpretedOption object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ UninterpretedOption.verify = function verify(message) { @@ -13311,7 +13302,7 @@ $root.google = (function() { /** * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. - * @param {google.protobuf.UninterpretedOption.NamePart|Object} message NamePart message or plain object to encode + * @param {google.protobuf.UninterpretedOption.NamePart|Object.} message NamePart message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13325,7 +13316,7 @@ $root.google = (function() { /** * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. - * @param {google.protobuf.UninterpretedOption.NamePart|Object} message NamePart message or plain object to encode + * @param {google.protobuf.UninterpretedOption.NamePart|Object.} message NamePart message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13381,7 +13372,7 @@ $root.google = (function() { /** * Verifies a NamePart message. - * @param {google.protobuf.UninterpretedOption.NamePart|Object} message NamePart message or plain object to verify + * @param {Object.} message NamePart object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ NamePart.verify = function verify(message) { @@ -13499,7 +13490,7 @@ $root.google = (function() { /** * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. - * @param {google.protobuf.SourceCodeInfo|Object} message SourceCodeInfo message or plain object to encode + * @param {google.protobuf.SourceCodeInfo|Object.} message SourceCodeInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13514,7 +13505,7 @@ $root.google = (function() { /** * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. - * @param {google.protobuf.SourceCodeInfo|Object} message SourceCodeInfo message or plain object to encode + * @param {google.protobuf.SourceCodeInfo|Object.} message SourceCodeInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13565,7 +13556,7 @@ $root.google = (function() { /** * Verifies a SourceCodeInfo message. - * @param {google.protobuf.SourceCodeInfo|Object} message SourceCodeInfo message or plain object to verify + * @param {Object.} message SourceCodeInfo object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ SourceCodeInfo.verify = function verify(message) { @@ -13706,7 +13697,7 @@ $root.google = (function() { /** * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. - * @param {google.protobuf.SourceCodeInfo.Location|Object} message Location message or plain object to encode + * @param {google.protobuf.SourceCodeInfo.Location|Object.} message Location message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13737,7 +13728,7 @@ $root.google = (function() { /** * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. - * @param {google.protobuf.SourceCodeInfo.Location|Object} message Location message or plain object to encode + * @param {google.protobuf.SourceCodeInfo.Location|Object.} message Location message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -13814,7 +13805,7 @@ $root.google = (function() { /** * Verifies a Location message. - * @param {google.protobuf.SourceCodeInfo.Location|Object} message Location message or plain object to verify + * @param {Object.} message Location object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Location.verify = function verify(message) { @@ -13996,7 +13987,7 @@ $root.google = (function() { /** * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. - * @param {google.protobuf.GeneratedCodeInfo|Object} message GeneratedCodeInfo message or plain object to encode + * @param {google.protobuf.GeneratedCodeInfo|Object.} message GeneratedCodeInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14011,7 +14002,7 @@ $root.google = (function() { /** * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. - * @param {google.protobuf.GeneratedCodeInfo|Object} message GeneratedCodeInfo message or plain object to encode + * @param {google.protobuf.GeneratedCodeInfo|Object.} message GeneratedCodeInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14062,7 +14053,7 @@ $root.google = (function() { /** * Verifies a GeneratedCodeInfo message. - * @param {google.protobuf.GeneratedCodeInfo|Object} message GeneratedCodeInfo message or plain object to verify + * @param {Object.} message GeneratedCodeInfo object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ GeneratedCodeInfo.verify = function verify(message) { @@ -14197,7 +14188,7 @@ $root.google = (function() { /** * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. - * @param {google.protobuf.GeneratedCodeInfo.Annotation|Object} message Annotation message or plain object to encode + * @param {google.protobuf.GeneratedCodeInfo.Annotation|Object.} message Annotation message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14221,7 +14212,7 @@ $root.google = (function() { /** * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. - * @param {google.protobuf.GeneratedCodeInfo.Annotation|Object} message Annotation message or plain object to encode + * @param {google.protobuf.GeneratedCodeInfo.Annotation|Object.} message Annotation message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -14286,7 +14277,7 @@ $root.google = (function() { /** * Verifies an Annotation message. - * @param {google.protobuf.GeneratedCodeInfo.Annotation|Object} message Annotation message or plain object to verify + * @param {Object.} message Annotation object to verify * @returns {?string} `null` if valid, otherwise the reason why it is not */ Annotation.verify = function verify(message) {