You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @property {string} [field1] Field with a comment.
19
+
* @property {number} [field2] Test1 field2.
20
+
* @property {boolean} [field3] Field with a comment and a <a href="http://example.com/foo/">link</a>
21
+
*/
22
+
14
23
/**
15
24
* Constructs a new Test1.
16
25
* @classdesc Message
17
26
* with
18
27
* a
19
28
* comment.
20
29
* @exports Test1
30
+
* @implements Test1$Properties
21
31
* @constructor
22
-
* @param {Object.<string,*>=} [properties] Properties to set
32
+
* @param {Test1$Properties=} [properties] Properties to set
* Field with a comment and a <a href="http://example.com/foo/">link</a>
44
-
* @type {boolean|undefined}
45
-
*/
46
42
Test1.prototype.field3=false;
47
43
48
44
/**
49
45
* Creates a new Test1 instance using the specified properties.
50
-
* @param {Object.<string,*>=} [properties] Properties to set
46
+
* @param {Test1$Properties=} [properties] Properties to set
51
47
* @returns {Test1} Test1 instance
52
48
*/
53
49
Test1.create=functioncreate(properties){
@@ -56,7 +52,7 @@ $root.Test1 = (function() {
56
52
57
53
/**
58
54
* Encodes the specified Test1 message. Does not implicitly {@link Test1.verify|verify} messages.
59
-
* @param {Test1|Object.<string,*>} message Test1 message or plain object to encode
55
+
* @param {Test1$Properties} message Test1 message or plain object to encode
60
56
* @param {$protobuf.Writer} [writer] Writer to encode to
61
57
* @returns {$protobuf.Writer} Writer
62
58
*/
@@ -129,7 +125,7 @@ $root.Test1 = (function() {
129
125
130
126
/**
131
127
* Verifies a Test1 message.
132
-
* @param {Object.<string,*>} message Test1 object to verify
128
+
* @param {Object.<string,*>} message Plain object to verify
133
129
* @returns {?string} `null` if valid, otherwise the reason why it is not
134
130
*/
135
131
Test1.verify=functionverify(message){
@@ -220,11 +216,18 @@ $root.Test1 = (function() {
220
216
221
217
$root.Test2=(function(){
222
218
219
+
/**
220
+
* Properties of a Test2.
221
+
* @typedef Test2$Properties
222
+
* @type Object
223
+
*/
224
+
223
225
/**
224
226
* Constructs a new Test2.
225
227
* @exports Test2
228
+
* @implements Test2$Properties
226
229
* @constructor
227
-
* @param {Object.<string,*>=} [properties] Properties to set
230
+
* @param {Test2$Properties=} [properties] Properties to set
228
231
*/
229
232
functionTest2(properties){
230
233
if(properties)
@@ -234,7 +237,7 @@ $root.Test2 = (function() {
234
237
235
238
/**
236
239
* Creates a new Test2 instance using the specified properties.
237
-
* @param {Object.<string,*>=} [properties] Properties to set
240
+
* @param {Test2$Properties=} [properties] Properties to set
238
241
* @returns {Test2} Test2 instance
239
242
*/
240
243
Test2.create=functioncreate(properties){
@@ -243,7 +246,7 @@ $root.Test2 = (function() {
243
246
244
247
/**
245
248
* Encodes the specified Test2 message. Does not implicitly {@link Test2.verify|verify} messages.
246
-
* @param {Test2|Object.<string,*>} message Test2 message or plain object to encode
249
+
* @param {Test2$Properties} message Test2 message or plain object to encode
247
250
* @param {$protobuf.Writer} [writer] Writer to encode to
248
251
* @returns {$protobuf.Writer} Writer
249
252
*/
@@ -301,7 +304,7 @@ $root.Test2 = (function() {
301
304
302
305
/**
303
306
* Verifies a Test2 message.
304
-
* @param {Object.<string,*>} message Test2 object to verify
307
+
* @param {Object.<string,*>} message Plain object to verify
305
308
* @returns {?string} `null` if valid, otherwise the reason why it is not
0 commit comments