@juzi/wechaty-grpc 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +0 -1
- package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +430 -74
- package/dist/cjs/out/wechaty/puppet/tag_pb.js +3051 -318
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +242 -293
- package/dist/cjs/out/wechaty/puppet.swagger.json +526 -595
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +154 -189
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +283 -357
- package/dist/cjs/out/wechaty/puppet_pb.d.ts +0 -1
- package/dist/cjs/out/wechaty/puppet_pb.js +0 -2
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +110 -149
- package/dist/cjs/out/wechaty/puppet_pb_service.js +66 -147
- package/dist/cjs/proto/wechaty/puppet/tag.proto +98 -29
- package/dist/cjs/proto/wechaty/puppet.proto +22 -43
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +11 -21
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/commonjs/generated/puppet.cjs.d.ts +0 -1
- package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +430 -74
- package/dist/esm/out/wechaty/puppet/tag_pb.js +3051 -318
- package/dist/esm/out/wechaty/puppet.openapi.yaml +242 -293
- package/dist/esm/out/wechaty/puppet.swagger.json +526 -595
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +154 -189
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +283 -357
- package/dist/esm/out/wechaty/puppet_pb.d.ts +0 -1
- package/dist/esm/out/wechaty/puppet_pb.js +0 -2
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +110 -149
- package/dist/esm/out/wechaty/puppet_pb_service.js +66 -147
- package/dist/esm/proto/wechaty/puppet/tag.proto +98 -29
- package/dist/esm/proto/wechaty/puppet.proto +22 -43
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +11 -21
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/tag_pb.d.ts +430 -74
- package/out/wechaty/puppet/tag_pb.js +3051 -318
- package/out/wechaty/puppet.openapi.yaml +242 -293
- package/out/wechaty/puppet.swagger.json +526 -595
- package/out/wechaty/puppet_grpc_pb.d.ts +154 -189
- package/out/wechaty/puppet_grpc_pb.js +283 -357
- package/out/wechaty/puppet_pb.d.ts +0 -1
- package/out/wechaty/puppet_pb.js +0 -2
- package/out/wechaty/puppet_pb_service.d.ts +110 -149
- package/out/wechaty/puppet_pb_service.js +66 -147
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
- package/dist/cjs/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb.js +0 -3315
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
- package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
- package/dist/cjs/proto/wechaty/puppet/corp-tag.proto +0 -90
- package/dist/esm/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
- package/dist/esm/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
- package/dist/esm/out/wechaty/puppet/corp-tag_pb.js +0 -3315
- package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
- package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
- package/dist/esm/proto/wechaty/puppet/corp-tag.proto +0 -90
- package/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
- package/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
- package/out/wechaty/puppet/corp-tag_pb.js +0 -3315
- package/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
- package/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
|
@@ -15,16 +15,31 @@ var jspb = require('google-protobuf');
|
|
|
15
15
|
var goog = jspb;
|
|
16
16
|
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
goog.
|
|
20
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
21
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
22
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
23
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
24
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
25
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
26
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
27
|
-
goog.exportSymbol('proto.wechaty.puppet.
|
|
18
|
+
goog.exportSymbol('proto.wechaty.puppet.TagContactTagAddRequest', null, global);
|
|
19
|
+
goog.exportSymbol('proto.wechaty.puppet.TagContactTagAddResponse', null, global);
|
|
20
|
+
goog.exportSymbol('proto.wechaty.puppet.TagContactTagListRequest', null, global);
|
|
21
|
+
goog.exportSymbol('proto.wechaty.puppet.TagContactTagListResponse', null, global);
|
|
22
|
+
goog.exportSymbol('proto.wechaty.puppet.TagContactTagRemoveRequest', null, global);
|
|
23
|
+
goog.exportSymbol('proto.wechaty.puppet.TagContactTagRemoveResponse', null, global);
|
|
24
|
+
goog.exportSymbol('proto.wechaty.puppet.TagGroupAddRequest', null, global);
|
|
25
|
+
goog.exportSymbol('proto.wechaty.puppet.TagGroupAddResponse', null, global);
|
|
26
|
+
goog.exportSymbol('proto.wechaty.puppet.TagGroupDeleteRequest', null, global);
|
|
27
|
+
goog.exportSymbol('proto.wechaty.puppet.TagGroupDeleteResponse', null, global);
|
|
28
|
+
goog.exportSymbol('proto.wechaty.puppet.TagGroupListRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.wechaty.puppet.TagGroupListResponse', null, global);
|
|
30
|
+
goog.exportSymbol('proto.wechaty.puppet.TagGroupPayload', null, global);
|
|
31
|
+
goog.exportSymbol('proto.wechaty.puppet.TagGroupTagListRequest', null, global);
|
|
32
|
+
goog.exportSymbol('proto.wechaty.puppet.TagGroupTagListResponse', null, global);
|
|
33
|
+
goog.exportSymbol('proto.wechaty.puppet.TagPayload', null, global);
|
|
34
|
+
goog.exportSymbol('proto.wechaty.puppet.TagTagAddRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.wechaty.puppet.TagTagAddResponse', null, global);
|
|
36
|
+
goog.exportSymbol('proto.wechaty.puppet.TagTagContactListRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.wechaty.puppet.TagTagContactListResponse', null, global);
|
|
38
|
+
goog.exportSymbol('proto.wechaty.puppet.TagTagDeleteRequest', null, global);
|
|
39
|
+
goog.exportSymbol('proto.wechaty.puppet.TagTagDeleteResponse', null, global);
|
|
40
|
+
goog.exportSymbol('proto.wechaty.puppet.TagTagListRequest', null, global);
|
|
41
|
+
goog.exportSymbol('proto.wechaty.puppet.TagTagListResponse', null, global);
|
|
42
|
+
goog.exportSymbol('proto.wechaty.puppet.TagType', null, global);
|
|
28
43
|
/**
|
|
29
44
|
* Generated by JsPbCodeGenerator.
|
|
30
45
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -35,16 +50,16 @@ goog.exportSymbol('proto.wechaty.puppet.TagContactRemoveResponse', null, global)
|
|
|
35
50
|
* @extends {jspb.Message}
|
|
36
51
|
* @constructor
|
|
37
52
|
*/
|
|
38
|
-
proto.wechaty.puppet.
|
|
53
|
+
proto.wechaty.puppet.TagPayload = function(opt_data) {
|
|
39
54
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
40
55
|
};
|
|
41
|
-
goog.inherits(proto.wechaty.puppet.
|
|
56
|
+
goog.inherits(proto.wechaty.puppet.TagPayload, jspb.Message);
|
|
42
57
|
if (goog.DEBUG && !COMPILED) {
|
|
43
58
|
/**
|
|
44
59
|
* @public
|
|
45
60
|
* @override
|
|
46
61
|
*/
|
|
47
|
-
proto.wechaty.puppet.
|
|
62
|
+
proto.wechaty.puppet.TagPayload.displayName = 'proto.wechaty.puppet.TagPayload';
|
|
48
63
|
}
|
|
49
64
|
/**
|
|
50
65
|
* Generated by JsPbCodeGenerator.
|
|
@@ -56,16 +71,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
56
71
|
* @extends {jspb.Message}
|
|
57
72
|
* @constructor
|
|
58
73
|
*/
|
|
59
|
-
proto.wechaty.puppet.
|
|
74
|
+
proto.wechaty.puppet.TagGroupPayload = function(opt_data) {
|
|
60
75
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
61
76
|
};
|
|
62
|
-
goog.inherits(proto.wechaty.puppet.
|
|
77
|
+
goog.inherits(proto.wechaty.puppet.TagGroupPayload, jspb.Message);
|
|
63
78
|
if (goog.DEBUG && !COMPILED) {
|
|
64
79
|
/**
|
|
65
80
|
* @public
|
|
66
81
|
* @override
|
|
67
82
|
*/
|
|
68
|
-
proto.wechaty.puppet.
|
|
83
|
+
proto.wechaty.puppet.TagGroupPayload.displayName = 'proto.wechaty.puppet.TagGroupPayload';
|
|
69
84
|
}
|
|
70
85
|
/**
|
|
71
86
|
* Generated by JsPbCodeGenerator.
|
|
@@ -77,16 +92,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
77
92
|
* @extends {jspb.Message}
|
|
78
93
|
* @constructor
|
|
79
94
|
*/
|
|
80
|
-
proto.wechaty.puppet.
|
|
95
|
+
proto.wechaty.puppet.TagContactTagAddRequest = function(opt_data) {
|
|
81
96
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
82
97
|
};
|
|
83
|
-
goog.inherits(proto.wechaty.puppet.
|
|
98
|
+
goog.inherits(proto.wechaty.puppet.TagContactTagAddRequest, jspb.Message);
|
|
84
99
|
if (goog.DEBUG && !COMPILED) {
|
|
85
100
|
/**
|
|
86
101
|
* @public
|
|
87
102
|
* @override
|
|
88
103
|
*/
|
|
89
|
-
proto.wechaty.puppet.
|
|
104
|
+
proto.wechaty.puppet.TagContactTagAddRequest.displayName = 'proto.wechaty.puppet.TagContactTagAddRequest';
|
|
90
105
|
}
|
|
91
106
|
/**
|
|
92
107
|
* Generated by JsPbCodeGenerator.
|
|
@@ -98,16 +113,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
98
113
|
* @extends {jspb.Message}
|
|
99
114
|
* @constructor
|
|
100
115
|
*/
|
|
101
|
-
proto.wechaty.puppet.
|
|
116
|
+
proto.wechaty.puppet.TagContactTagAddResponse = function(opt_data) {
|
|
102
117
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
103
118
|
};
|
|
104
|
-
goog.inherits(proto.wechaty.puppet.
|
|
119
|
+
goog.inherits(proto.wechaty.puppet.TagContactTagAddResponse, jspb.Message);
|
|
105
120
|
if (goog.DEBUG && !COMPILED) {
|
|
106
121
|
/**
|
|
107
122
|
* @public
|
|
108
123
|
* @override
|
|
109
124
|
*/
|
|
110
|
-
proto.wechaty.puppet.
|
|
125
|
+
proto.wechaty.puppet.TagContactTagAddResponse.displayName = 'proto.wechaty.puppet.TagContactTagAddResponse';
|
|
111
126
|
}
|
|
112
127
|
/**
|
|
113
128
|
* Generated by JsPbCodeGenerator.
|
|
@@ -119,16 +134,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
119
134
|
* @extends {jspb.Message}
|
|
120
135
|
* @constructor
|
|
121
136
|
*/
|
|
122
|
-
proto.wechaty.puppet.
|
|
137
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest = function(opt_data) {
|
|
123
138
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
124
139
|
};
|
|
125
|
-
goog.inherits(proto.wechaty.puppet.
|
|
140
|
+
goog.inherits(proto.wechaty.puppet.TagContactTagRemoveRequest, jspb.Message);
|
|
126
141
|
if (goog.DEBUG && !COMPILED) {
|
|
127
142
|
/**
|
|
128
143
|
* @public
|
|
129
144
|
* @override
|
|
130
145
|
*/
|
|
131
|
-
proto.wechaty.puppet.
|
|
146
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.displayName = 'proto.wechaty.puppet.TagContactTagRemoveRequest';
|
|
132
147
|
}
|
|
133
148
|
/**
|
|
134
149
|
* Generated by JsPbCodeGenerator.
|
|
@@ -140,16 +155,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
140
155
|
* @extends {jspb.Message}
|
|
141
156
|
* @constructor
|
|
142
157
|
*/
|
|
143
|
-
proto.wechaty.puppet.
|
|
158
|
+
proto.wechaty.puppet.TagContactTagRemoveResponse = function(opt_data) {
|
|
144
159
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
145
160
|
};
|
|
146
|
-
goog.inherits(proto.wechaty.puppet.
|
|
161
|
+
goog.inherits(proto.wechaty.puppet.TagContactTagRemoveResponse, jspb.Message);
|
|
147
162
|
if (goog.DEBUG && !COMPILED) {
|
|
148
163
|
/**
|
|
149
164
|
* @public
|
|
150
165
|
* @override
|
|
151
166
|
*/
|
|
152
|
-
proto.wechaty.puppet.
|
|
167
|
+
proto.wechaty.puppet.TagContactTagRemoveResponse.displayName = 'proto.wechaty.puppet.TagContactTagRemoveResponse';
|
|
153
168
|
}
|
|
154
169
|
/**
|
|
155
170
|
* Generated by JsPbCodeGenerator.
|
|
@@ -161,16 +176,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
161
176
|
* @extends {jspb.Message}
|
|
162
177
|
* @constructor
|
|
163
178
|
*/
|
|
164
|
-
proto.wechaty.puppet.
|
|
179
|
+
proto.wechaty.puppet.TagGroupAddRequest = function(opt_data) {
|
|
165
180
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
166
181
|
};
|
|
167
|
-
goog.inherits(proto.wechaty.puppet.
|
|
182
|
+
goog.inherits(proto.wechaty.puppet.TagGroupAddRequest, jspb.Message);
|
|
168
183
|
if (goog.DEBUG && !COMPILED) {
|
|
169
184
|
/**
|
|
170
185
|
* @public
|
|
171
186
|
* @override
|
|
172
187
|
*/
|
|
173
|
-
proto.wechaty.puppet.
|
|
188
|
+
proto.wechaty.puppet.TagGroupAddRequest.displayName = 'proto.wechaty.puppet.TagGroupAddRequest';
|
|
174
189
|
}
|
|
175
190
|
/**
|
|
176
191
|
* Generated by JsPbCodeGenerator.
|
|
@@ -182,17 +197,2660 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
182
197
|
* @extends {jspb.Message}
|
|
183
198
|
* @constructor
|
|
184
199
|
*/
|
|
185
|
-
proto.wechaty.puppet.
|
|
186
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
200
|
+
proto.wechaty.puppet.TagGroupAddResponse = function(opt_data) {
|
|
201
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
202
|
+
};
|
|
203
|
+
goog.inherits(proto.wechaty.puppet.TagGroupAddResponse, jspb.Message);
|
|
204
|
+
if (goog.DEBUG && !COMPILED) {
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
* @override
|
|
208
|
+
*/
|
|
209
|
+
proto.wechaty.puppet.TagGroupAddResponse.displayName = 'proto.wechaty.puppet.TagGroupAddResponse';
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Generated by JsPbCodeGenerator.
|
|
213
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
214
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
215
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
216
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
217
|
+
* valid.
|
|
218
|
+
* @extends {jspb.Message}
|
|
219
|
+
* @constructor
|
|
220
|
+
*/
|
|
221
|
+
proto.wechaty.puppet.TagGroupDeleteRequest = function(opt_data) {
|
|
222
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
223
|
+
};
|
|
224
|
+
goog.inherits(proto.wechaty.puppet.TagGroupDeleteRequest, jspb.Message);
|
|
225
|
+
if (goog.DEBUG && !COMPILED) {
|
|
226
|
+
/**
|
|
227
|
+
* @public
|
|
228
|
+
* @override
|
|
229
|
+
*/
|
|
230
|
+
proto.wechaty.puppet.TagGroupDeleteRequest.displayName = 'proto.wechaty.puppet.TagGroupDeleteRequest';
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Generated by JsPbCodeGenerator.
|
|
234
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
235
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
236
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
237
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
238
|
+
* valid.
|
|
239
|
+
* @extends {jspb.Message}
|
|
240
|
+
* @constructor
|
|
241
|
+
*/
|
|
242
|
+
proto.wechaty.puppet.TagGroupDeleteResponse = function(opt_data) {
|
|
243
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
244
|
+
};
|
|
245
|
+
goog.inherits(proto.wechaty.puppet.TagGroupDeleteResponse, jspb.Message);
|
|
246
|
+
if (goog.DEBUG && !COMPILED) {
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
* @override
|
|
250
|
+
*/
|
|
251
|
+
proto.wechaty.puppet.TagGroupDeleteResponse.displayName = 'proto.wechaty.puppet.TagGroupDeleteResponse';
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Generated by JsPbCodeGenerator.
|
|
255
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
256
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
257
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
258
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
259
|
+
* valid.
|
|
260
|
+
* @extends {jspb.Message}
|
|
261
|
+
* @constructor
|
|
262
|
+
*/
|
|
263
|
+
proto.wechaty.puppet.TagTagAddRequest = function(opt_data) {
|
|
264
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
265
|
+
};
|
|
266
|
+
goog.inherits(proto.wechaty.puppet.TagTagAddRequest, jspb.Message);
|
|
267
|
+
if (goog.DEBUG && !COMPILED) {
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
* @override
|
|
271
|
+
*/
|
|
272
|
+
proto.wechaty.puppet.TagTagAddRequest.displayName = 'proto.wechaty.puppet.TagTagAddRequest';
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Generated by JsPbCodeGenerator.
|
|
276
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
277
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
278
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
279
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
280
|
+
* valid.
|
|
281
|
+
* @extends {jspb.Message}
|
|
282
|
+
* @constructor
|
|
283
|
+
*/
|
|
284
|
+
proto.wechaty.puppet.TagTagAddResponse = function(opt_data) {
|
|
285
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
286
|
+
};
|
|
287
|
+
goog.inherits(proto.wechaty.puppet.TagTagAddResponse, jspb.Message);
|
|
288
|
+
if (goog.DEBUG && !COMPILED) {
|
|
289
|
+
/**
|
|
290
|
+
* @public
|
|
291
|
+
* @override
|
|
292
|
+
*/
|
|
293
|
+
proto.wechaty.puppet.TagTagAddResponse.displayName = 'proto.wechaty.puppet.TagTagAddResponse';
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Generated by JsPbCodeGenerator.
|
|
297
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
298
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
299
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
300
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
301
|
+
* valid.
|
|
302
|
+
* @extends {jspb.Message}
|
|
303
|
+
* @constructor
|
|
304
|
+
*/
|
|
305
|
+
proto.wechaty.puppet.TagTagDeleteRequest = function(opt_data) {
|
|
306
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
307
|
+
};
|
|
308
|
+
goog.inherits(proto.wechaty.puppet.TagTagDeleteRequest, jspb.Message);
|
|
309
|
+
if (goog.DEBUG && !COMPILED) {
|
|
310
|
+
/**
|
|
311
|
+
* @public
|
|
312
|
+
* @override
|
|
313
|
+
*/
|
|
314
|
+
proto.wechaty.puppet.TagTagDeleteRequest.displayName = 'proto.wechaty.puppet.TagTagDeleteRequest';
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Generated by JsPbCodeGenerator.
|
|
318
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
319
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
320
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
321
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
322
|
+
* valid.
|
|
323
|
+
* @extends {jspb.Message}
|
|
324
|
+
* @constructor
|
|
325
|
+
*/
|
|
326
|
+
proto.wechaty.puppet.TagTagDeleteResponse = function(opt_data) {
|
|
327
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
328
|
+
};
|
|
329
|
+
goog.inherits(proto.wechaty.puppet.TagTagDeleteResponse, jspb.Message);
|
|
330
|
+
if (goog.DEBUG && !COMPILED) {
|
|
331
|
+
/**
|
|
332
|
+
* @public
|
|
333
|
+
* @override
|
|
334
|
+
*/
|
|
335
|
+
proto.wechaty.puppet.TagTagDeleteResponse.displayName = 'proto.wechaty.puppet.TagTagDeleteResponse';
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Generated by JsPbCodeGenerator.
|
|
339
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
340
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
341
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
342
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
343
|
+
* valid.
|
|
344
|
+
* @extends {jspb.Message}
|
|
345
|
+
* @constructor
|
|
346
|
+
*/
|
|
347
|
+
proto.wechaty.puppet.TagGroupListRequest = function(opt_data) {
|
|
348
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
349
|
+
};
|
|
350
|
+
goog.inherits(proto.wechaty.puppet.TagGroupListRequest, jspb.Message);
|
|
351
|
+
if (goog.DEBUG && !COMPILED) {
|
|
352
|
+
/**
|
|
353
|
+
* @public
|
|
354
|
+
* @override
|
|
355
|
+
*/
|
|
356
|
+
proto.wechaty.puppet.TagGroupListRequest.displayName = 'proto.wechaty.puppet.TagGroupListRequest';
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Generated by JsPbCodeGenerator.
|
|
360
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
361
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
362
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
363
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
364
|
+
* valid.
|
|
365
|
+
* @extends {jspb.Message}
|
|
366
|
+
* @constructor
|
|
367
|
+
*/
|
|
368
|
+
proto.wechaty.puppet.TagGroupListResponse = function(opt_data) {
|
|
369
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagGroupListResponse.repeatedFields_, null);
|
|
370
|
+
};
|
|
371
|
+
goog.inherits(proto.wechaty.puppet.TagGroupListResponse, jspb.Message);
|
|
372
|
+
if (goog.DEBUG && !COMPILED) {
|
|
373
|
+
/**
|
|
374
|
+
* @public
|
|
375
|
+
* @override
|
|
376
|
+
*/
|
|
377
|
+
proto.wechaty.puppet.TagGroupListResponse.displayName = 'proto.wechaty.puppet.TagGroupListResponse';
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Generated by JsPbCodeGenerator.
|
|
381
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
382
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
383
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
384
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
385
|
+
* valid.
|
|
386
|
+
* @extends {jspb.Message}
|
|
387
|
+
* @constructor
|
|
388
|
+
*/
|
|
389
|
+
proto.wechaty.puppet.TagGroupTagListRequest = function(opt_data) {
|
|
390
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
391
|
+
};
|
|
392
|
+
goog.inherits(proto.wechaty.puppet.TagGroupTagListRequest, jspb.Message);
|
|
393
|
+
if (goog.DEBUG && !COMPILED) {
|
|
394
|
+
/**
|
|
395
|
+
* @public
|
|
396
|
+
* @override
|
|
397
|
+
*/
|
|
398
|
+
proto.wechaty.puppet.TagGroupTagListRequest.displayName = 'proto.wechaty.puppet.TagGroupTagListRequest';
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* Generated by JsPbCodeGenerator.
|
|
402
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
403
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
404
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
405
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
406
|
+
* valid.
|
|
407
|
+
* @extends {jspb.Message}
|
|
408
|
+
* @constructor
|
|
409
|
+
*/
|
|
410
|
+
proto.wechaty.puppet.TagGroupTagListResponse = function(opt_data) {
|
|
411
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagGroupTagListResponse.repeatedFields_, null);
|
|
412
|
+
};
|
|
413
|
+
goog.inherits(proto.wechaty.puppet.TagGroupTagListResponse, jspb.Message);
|
|
414
|
+
if (goog.DEBUG && !COMPILED) {
|
|
415
|
+
/**
|
|
416
|
+
* @public
|
|
417
|
+
* @override
|
|
418
|
+
*/
|
|
419
|
+
proto.wechaty.puppet.TagGroupTagListResponse.displayName = 'proto.wechaty.puppet.TagGroupTagListResponse';
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Generated by JsPbCodeGenerator.
|
|
423
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
424
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
425
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
426
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
427
|
+
* valid.
|
|
428
|
+
* @extends {jspb.Message}
|
|
429
|
+
* @constructor
|
|
430
|
+
*/
|
|
431
|
+
proto.wechaty.puppet.TagTagListRequest = function(opt_data) {
|
|
432
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
433
|
+
};
|
|
434
|
+
goog.inherits(proto.wechaty.puppet.TagTagListRequest, jspb.Message);
|
|
435
|
+
if (goog.DEBUG && !COMPILED) {
|
|
436
|
+
/**
|
|
437
|
+
* @public
|
|
438
|
+
* @override
|
|
439
|
+
*/
|
|
440
|
+
proto.wechaty.puppet.TagTagListRequest.displayName = 'proto.wechaty.puppet.TagTagListRequest';
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Generated by JsPbCodeGenerator.
|
|
444
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
445
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
446
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
447
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
448
|
+
* valid.
|
|
449
|
+
* @extends {jspb.Message}
|
|
450
|
+
* @constructor
|
|
451
|
+
*/
|
|
452
|
+
proto.wechaty.puppet.TagTagListResponse = function(opt_data) {
|
|
453
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagTagListResponse.repeatedFields_, null);
|
|
454
|
+
};
|
|
455
|
+
goog.inherits(proto.wechaty.puppet.TagTagListResponse, jspb.Message);
|
|
456
|
+
if (goog.DEBUG && !COMPILED) {
|
|
457
|
+
/**
|
|
458
|
+
* @public
|
|
459
|
+
* @override
|
|
460
|
+
*/
|
|
461
|
+
proto.wechaty.puppet.TagTagListResponse.displayName = 'proto.wechaty.puppet.TagTagListResponse';
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* Generated by JsPbCodeGenerator.
|
|
465
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
466
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
467
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
468
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
469
|
+
* valid.
|
|
470
|
+
* @extends {jspb.Message}
|
|
471
|
+
* @constructor
|
|
472
|
+
*/
|
|
473
|
+
proto.wechaty.puppet.TagContactTagListRequest = function(opt_data) {
|
|
474
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
475
|
+
};
|
|
476
|
+
goog.inherits(proto.wechaty.puppet.TagContactTagListRequest, jspb.Message);
|
|
477
|
+
if (goog.DEBUG && !COMPILED) {
|
|
478
|
+
/**
|
|
479
|
+
* @public
|
|
480
|
+
* @override
|
|
481
|
+
*/
|
|
482
|
+
proto.wechaty.puppet.TagContactTagListRequest.displayName = 'proto.wechaty.puppet.TagContactTagListRequest';
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* Generated by JsPbCodeGenerator.
|
|
486
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
487
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
488
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
489
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
490
|
+
* valid.
|
|
491
|
+
* @extends {jspb.Message}
|
|
492
|
+
* @constructor
|
|
493
|
+
*/
|
|
494
|
+
proto.wechaty.puppet.TagContactTagListResponse = function(opt_data) {
|
|
495
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagContactTagListResponse.repeatedFields_, null);
|
|
496
|
+
};
|
|
497
|
+
goog.inherits(proto.wechaty.puppet.TagContactTagListResponse, jspb.Message);
|
|
498
|
+
if (goog.DEBUG && !COMPILED) {
|
|
499
|
+
/**
|
|
500
|
+
* @public
|
|
501
|
+
* @override
|
|
502
|
+
*/
|
|
503
|
+
proto.wechaty.puppet.TagContactTagListResponse.displayName = 'proto.wechaty.puppet.TagContactTagListResponse';
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* Generated by JsPbCodeGenerator.
|
|
507
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
508
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
509
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
510
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
511
|
+
* valid.
|
|
512
|
+
* @extends {jspb.Message}
|
|
513
|
+
* @constructor
|
|
514
|
+
*/
|
|
515
|
+
proto.wechaty.puppet.TagTagContactListRequest = function(opt_data) {
|
|
516
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
517
|
+
};
|
|
518
|
+
goog.inherits(proto.wechaty.puppet.TagTagContactListRequest, jspb.Message);
|
|
519
|
+
if (goog.DEBUG && !COMPILED) {
|
|
520
|
+
/**
|
|
521
|
+
* @public
|
|
522
|
+
* @override
|
|
523
|
+
*/
|
|
524
|
+
proto.wechaty.puppet.TagTagContactListRequest.displayName = 'proto.wechaty.puppet.TagTagContactListRequest';
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Generated by JsPbCodeGenerator.
|
|
528
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
529
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
530
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
531
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
532
|
+
* valid.
|
|
533
|
+
* @extends {jspb.Message}
|
|
534
|
+
* @constructor
|
|
535
|
+
*/
|
|
536
|
+
proto.wechaty.puppet.TagTagContactListResponse = function(opt_data) {
|
|
537
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagTagContactListResponse.repeatedFields_, null);
|
|
538
|
+
};
|
|
539
|
+
goog.inherits(proto.wechaty.puppet.TagTagContactListResponse, jspb.Message);
|
|
540
|
+
if (goog.DEBUG && !COMPILED) {
|
|
541
|
+
/**
|
|
542
|
+
* @public
|
|
543
|
+
* @override
|
|
544
|
+
*/
|
|
545
|
+
proto.wechaty.puppet.TagTagContactListResponse.displayName = 'proto.wechaty.puppet.TagTagContactListResponse';
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
551
|
+
/**
|
|
552
|
+
* Creates an object representation of this proto.
|
|
553
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
554
|
+
* Optional fields that are not set will be set to undefined.
|
|
555
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
556
|
+
* For the list of reserved names please see:
|
|
557
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
558
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
559
|
+
* JSPB instance for transitional soy proto support:
|
|
560
|
+
* http://goto/soy-param-migration
|
|
561
|
+
* @return {!Object}
|
|
562
|
+
*/
|
|
563
|
+
proto.wechaty.puppet.TagPayload.prototype.toObject = function(opt_includeInstance) {
|
|
564
|
+
return proto.wechaty.puppet.TagPayload.toObject(opt_includeInstance, this);
|
|
565
|
+
};
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Static version of the {@see toObject} method.
|
|
570
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
571
|
+
* the JSPB instance for transitional soy proto support:
|
|
572
|
+
* http://goto/soy-param-migration
|
|
573
|
+
* @param {!proto.wechaty.puppet.TagPayload} msg The msg instance to transform.
|
|
574
|
+
* @return {!Object}
|
|
575
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
576
|
+
*/
|
|
577
|
+
proto.wechaty.puppet.TagPayload.toObject = function(includeInstance, msg) {
|
|
578
|
+
var f, obj = {
|
|
579
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
580
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
581
|
+
groupId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
582
|
+
type: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
583
|
+
};
|
|
584
|
+
|
|
585
|
+
if (includeInstance) {
|
|
586
|
+
obj.$jspbMessageInstance = msg;
|
|
587
|
+
}
|
|
588
|
+
return obj;
|
|
589
|
+
};
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Deserializes binary data (in protobuf wire format).
|
|
595
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
596
|
+
* @return {!proto.wechaty.puppet.TagPayload}
|
|
597
|
+
*/
|
|
598
|
+
proto.wechaty.puppet.TagPayload.deserializeBinary = function(bytes) {
|
|
599
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
600
|
+
var msg = new proto.wechaty.puppet.TagPayload;
|
|
601
|
+
return proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader(msg, reader);
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
607
|
+
* given reader into the given message object.
|
|
608
|
+
* @param {!proto.wechaty.puppet.TagPayload} msg The message object to deserialize into.
|
|
609
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
610
|
+
* @return {!proto.wechaty.puppet.TagPayload}
|
|
611
|
+
*/
|
|
612
|
+
proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
613
|
+
while (reader.nextField()) {
|
|
614
|
+
if (reader.isEndGroup()) {
|
|
615
|
+
break;
|
|
616
|
+
}
|
|
617
|
+
var field = reader.getFieldNumber();
|
|
618
|
+
switch (field) {
|
|
619
|
+
case 1:
|
|
620
|
+
var value = /** @type {string} */ (reader.readString());
|
|
621
|
+
msg.setId(value);
|
|
622
|
+
break;
|
|
623
|
+
case 2:
|
|
624
|
+
var value = /** @type {string} */ (reader.readString());
|
|
625
|
+
msg.setName(value);
|
|
626
|
+
break;
|
|
627
|
+
case 3:
|
|
628
|
+
var value = /** @type {string} */ (reader.readString());
|
|
629
|
+
msg.setGroupId(value);
|
|
630
|
+
break;
|
|
631
|
+
case 4:
|
|
632
|
+
var value = /** @type {!proto.wechaty.puppet.TagType} */ (reader.readEnum());
|
|
633
|
+
msg.setType(value);
|
|
634
|
+
break;
|
|
635
|
+
default:
|
|
636
|
+
reader.skipField();
|
|
637
|
+
break;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
return msg;
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
646
|
+
* @return {!Uint8Array}
|
|
647
|
+
*/
|
|
648
|
+
proto.wechaty.puppet.TagPayload.prototype.serializeBinary = function() {
|
|
649
|
+
var writer = new jspb.BinaryWriter();
|
|
650
|
+
proto.wechaty.puppet.TagPayload.serializeBinaryToWriter(this, writer);
|
|
651
|
+
return writer.getResultBuffer();
|
|
652
|
+
};
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
657
|
+
* format), writing to the given BinaryWriter.
|
|
658
|
+
* @param {!proto.wechaty.puppet.TagPayload} message
|
|
659
|
+
* @param {!jspb.BinaryWriter} writer
|
|
660
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
661
|
+
*/
|
|
662
|
+
proto.wechaty.puppet.TagPayload.serializeBinaryToWriter = function(message, writer) {
|
|
663
|
+
var f = undefined;
|
|
664
|
+
f = message.getId();
|
|
665
|
+
if (f.length > 0) {
|
|
666
|
+
writer.writeString(
|
|
667
|
+
1,
|
|
668
|
+
f
|
|
669
|
+
);
|
|
670
|
+
}
|
|
671
|
+
f = message.getName();
|
|
672
|
+
if (f.length > 0) {
|
|
673
|
+
writer.writeString(
|
|
674
|
+
2,
|
|
675
|
+
f
|
|
676
|
+
);
|
|
677
|
+
}
|
|
678
|
+
f = message.getGroupId();
|
|
679
|
+
if (f.length > 0) {
|
|
680
|
+
writer.writeString(
|
|
681
|
+
3,
|
|
682
|
+
f
|
|
683
|
+
);
|
|
684
|
+
}
|
|
685
|
+
f = message.getType();
|
|
686
|
+
if (f !== 0.0) {
|
|
687
|
+
writer.writeEnum(
|
|
688
|
+
4,
|
|
689
|
+
f
|
|
690
|
+
);
|
|
691
|
+
}
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* optional string id = 1;
|
|
697
|
+
* @return {string}
|
|
698
|
+
*/
|
|
699
|
+
proto.wechaty.puppet.TagPayload.prototype.getId = function() {
|
|
700
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* @param {string} value
|
|
706
|
+
* @return {!proto.wechaty.puppet.TagPayload} returns this
|
|
707
|
+
*/
|
|
708
|
+
proto.wechaty.puppet.TagPayload.prototype.setId = function(value) {
|
|
709
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
710
|
+
};
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* optional string name = 2;
|
|
715
|
+
* @return {string}
|
|
716
|
+
*/
|
|
717
|
+
proto.wechaty.puppet.TagPayload.prototype.getName = function() {
|
|
718
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* @param {string} value
|
|
724
|
+
* @return {!proto.wechaty.puppet.TagPayload} returns this
|
|
725
|
+
*/
|
|
726
|
+
proto.wechaty.puppet.TagPayload.prototype.setName = function(value) {
|
|
727
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* optional string group_id = 3;
|
|
733
|
+
* @return {string}
|
|
734
|
+
*/
|
|
735
|
+
proto.wechaty.puppet.TagPayload.prototype.getGroupId = function() {
|
|
736
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
737
|
+
};
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* @param {string} value
|
|
742
|
+
* @return {!proto.wechaty.puppet.TagPayload} returns this
|
|
743
|
+
*/
|
|
744
|
+
proto.wechaty.puppet.TagPayload.prototype.setGroupId = function(value) {
|
|
745
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* optional TagType type = 4;
|
|
751
|
+
* @return {!proto.wechaty.puppet.TagType}
|
|
752
|
+
*/
|
|
753
|
+
proto.wechaty.puppet.TagPayload.prototype.getType = function() {
|
|
754
|
+
return /** @type {!proto.wechaty.puppet.TagType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
755
|
+
};
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* @param {!proto.wechaty.puppet.TagType} value
|
|
760
|
+
* @return {!proto.wechaty.puppet.TagPayload} returns this
|
|
761
|
+
*/
|
|
762
|
+
proto.wechaty.puppet.TagPayload.prototype.setType = function(value) {
|
|
763
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
764
|
+
};
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
771
|
+
/**
|
|
772
|
+
* Creates an object representation of this proto.
|
|
773
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
774
|
+
* Optional fields that are not set will be set to undefined.
|
|
775
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
776
|
+
* For the list of reserved names please see:
|
|
777
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
778
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
779
|
+
* JSPB instance for transitional soy proto support:
|
|
780
|
+
* http://goto/soy-param-migration
|
|
781
|
+
* @return {!Object}
|
|
782
|
+
*/
|
|
783
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.toObject = function(opt_includeInstance) {
|
|
784
|
+
return proto.wechaty.puppet.TagGroupPayload.toObject(opt_includeInstance, this);
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Static version of the {@see toObject} method.
|
|
790
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
791
|
+
* the JSPB instance for transitional soy proto support:
|
|
792
|
+
* http://goto/soy-param-migration
|
|
793
|
+
* @param {!proto.wechaty.puppet.TagGroupPayload} msg The msg instance to transform.
|
|
794
|
+
* @return {!Object}
|
|
795
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
796
|
+
*/
|
|
797
|
+
proto.wechaty.puppet.TagGroupPayload.toObject = function(includeInstance, msg) {
|
|
798
|
+
var f, obj = {
|
|
799
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
800
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
if (includeInstance) {
|
|
804
|
+
obj.$jspbMessageInstance = msg;
|
|
805
|
+
}
|
|
806
|
+
return obj;
|
|
807
|
+
};
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Deserializes binary data (in protobuf wire format).
|
|
813
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
814
|
+
* @return {!proto.wechaty.puppet.TagGroupPayload}
|
|
815
|
+
*/
|
|
816
|
+
proto.wechaty.puppet.TagGroupPayload.deserializeBinary = function(bytes) {
|
|
817
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
818
|
+
var msg = new proto.wechaty.puppet.TagGroupPayload;
|
|
819
|
+
return proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader(msg, reader);
|
|
820
|
+
};
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
825
|
+
* given reader into the given message object.
|
|
826
|
+
* @param {!proto.wechaty.puppet.TagGroupPayload} msg The message object to deserialize into.
|
|
827
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
828
|
+
* @return {!proto.wechaty.puppet.TagGroupPayload}
|
|
829
|
+
*/
|
|
830
|
+
proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
831
|
+
while (reader.nextField()) {
|
|
832
|
+
if (reader.isEndGroup()) {
|
|
833
|
+
break;
|
|
834
|
+
}
|
|
835
|
+
var field = reader.getFieldNumber();
|
|
836
|
+
switch (field) {
|
|
837
|
+
case 1:
|
|
838
|
+
var value = /** @type {string} */ (reader.readString());
|
|
839
|
+
msg.setId(value);
|
|
840
|
+
break;
|
|
841
|
+
case 2:
|
|
842
|
+
var value = /** @type {string} */ (reader.readString());
|
|
843
|
+
msg.setName(value);
|
|
844
|
+
break;
|
|
845
|
+
default:
|
|
846
|
+
reader.skipField();
|
|
847
|
+
break;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
return msg;
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
856
|
+
* @return {!Uint8Array}
|
|
857
|
+
*/
|
|
858
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.serializeBinary = function() {
|
|
859
|
+
var writer = new jspb.BinaryWriter();
|
|
860
|
+
proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter(this, writer);
|
|
861
|
+
return writer.getResultBuffer();
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
867
|
+
* format), writing to the given BinaryWriter.
|
|
868
|
+
* @param {!proto.wechaty.puppet.TagGroupPayload} message
|
|
869
|
+
* @param {!jspb.BinaryWriter} writer
|
|
870
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
871
|
+
*/
|
|
872
|
+
proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter = function(message, writer) {
|
|
873
|
+
var f = undefined;
|
|
874
|
+
f = message.getId();
|
|
875
|
+
if (f.length > 0) {
|
|
876
|
+
writer.writeString(
|
|
877
|
+
1,
|
|
878
|
+
f
|
|
879
|
+
);
|
|
880
|
+
}
|
|
881
|
+
f = message.getName();
|
|
882
|
+
if (f.length > 0) {
|
|
883
|
+
writer.writeString(
|
|
884
|
+
2,
|
|
885
|
+
f
|
|
886
|
+
);
|
|
887
|
+
}
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* optional string id = 1;
|
|
893
|
+
* @return {string}
|
|
894
|
+
*/
|
|
895
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.getId = function() {
|
|
896
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* @param {string} value
|
|
902
|
+
* @return {!proto.wechaty.puppet.TagGroupPayload} returns this
|
|
903
|
+
*/
|
|
904
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.setId = function(value) {
|
|
905
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
906
|
+
};
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* optional string name = 2;
|
|
911
|
+
* @return {string}
|
|
912
|
+
*/
|
|
913
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.getName = function() {
|
|
914
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* @param {string} value
|
|
920
|
+
* @return {!proto.wechaty.puppet.TagGroupPayload} returns this
|
|
921
|
+
*/
|
|
922
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.setName = function(value) {
|
|
923
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
924
|
+
};
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
931
|
+
/**
|
|
932
|
+
* Creates an object representation of this proto.
|
|
933
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
934
|
+
* Optional fields that are not set will be set to undefined.
|
|
935
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
936
|
+
* For the list of reserved names please see:
|
|
937
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
938
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
939
|
+
* JSPB instance for transitional soy proto support:
|
|
940
|
+
* http://goto/soy-param-migration
|
|
941
|
+
* @return {!Object}
|
|
942
|
+
*/
|
|
943
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.toObject = function(opt_includeInstance) {
|
|
944
|
+
return proto.wechaty.puppet.TagContactTagAddRequest.toObject(opt_includeInstance, this);
|
|
945
|
+
};
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* Static version of the {@see toObject} method.
|
|
950
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
951
|
+
* the JSPB instance for transitional soy proto support:
|
|
952
|
+
* http://goto/soy-param-migration
|
|
953
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddRequest} msg The msg instance to transform.
|
|
954
|
+
* @return {!Object}
|
|
955
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
956
|
+
*/
|
|
957
|
+
proto.wechaty.puppet.TagContactTagAddRequest.toObject = function(includeInstance, msg) {
|
|
958
|
+
var f, obj = {
|
|
959
|
+
tagGroupId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
960
|
+
tagId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
961
|
+
contactId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
if (includeInstance) {
|
|
965
|
+
obj.$jspbMessageInstance = msg;
|
|
966
|
+
}
|
|
967
|
+
return obj;
|
|
968
|
+
};
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* Deserializes binary data (in protobuf wire format).
|
|
974
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
975
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest}
|
|
976
|
+
*/
|
|
977
|
+
proto.wechaty.puppet.TagContactTagAddRequest.deserializeBinary = function(bytes) {
|
|
978
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
979
|
+
var msg = new proto.wechaty.puppet.TagContactTagAddRequest;
|
|
980
|
+
return proto.wechaty.puppet.TagContactTagAddRequest.deserializeBinaryFromReader(msg, reader);
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
986
|
+
* given reader into the given message object.
|
|
987
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddRequest} msg The message object to deserialize into.
|
|
988
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
989
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest}
|
|
990
|
+
*/
|
|
991
|
+
proto.wechaty.puppet.TagContactTagAddRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
992
|
+
while (reader.nextField()) {
|
|
993
|
+
if (reader.isEndGroup()) {
|
|
994
|
+
break;
|
|
995
|
+
}
|
|
996
|
+
var field = reader.getFieldNumber();
|
|
997
|
+
switch (field) {
|
|
998
|
+
case 1:
|
|
999
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1000
|
+
msg.setTagGroupId(value);
|
|
1001
|
+
break;
|
|
1002
|
+
case 2:
|
|
1003
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1004
|
+
msg.setTagId(value);
|
|
1005
|
+
break;
|
|
1006
|
+
case 3:
|
|
1007
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1008
|
+
msg.setContactId(value);
|
|
1009
|
+
break;
|
|
1010
|
+
default:
|
|
1011
|
+
reader.skipField();
|
|
1012
|
+
break;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
return msg;
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1021
|
+
* @return {!Uint8Array}
|
|
1022
|
+
*/
|
|
1023
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.serializeBinary = function() {
|
|
1024
|
+
var writer = new jspb.BinaryWriter();
|
|
1025
|
+
proto.wechaty.puppet.TagContactTagAddRequest.serializeBinaryToWriter(this, writer);
|
|
1026
|
+
return writer.getResultBuffer();
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1032
|
+
* format), writing to the given BinaryWriter.
|
|
1033
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddRequest} message
|
|
1034
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1035
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1036
|
+
*/
|
|
1037
|
+
proto.wechaty.puppet.TagContactTagAddRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1038
|
+
var f = undefined;
|
|
1039
|
+
f = message.getTagGroupId();
|
|
1040
|
+
if (f.length > 0) {
|
|
1041
|
+
writer.writeString(
|
|
1042
|
+
1,
|
|
1043
|
+
f
|
|
1044
|
+
);
|
|
1045
|
+
}
|
|
1046
|
+
f = message.getTagId();
|
|
1047
|
+
if (f.length > 0) {
|
|
1048
|
+
writer.writeString(
|
|
1049
|
+
2,
|
|
1050
|
+
f
|
|
1051
|
+
);
|
|
1052
|
+
}
|
|
1053
|
+
f = message.getContactId();
|
|
1054
|
+
if (f.length > 0) {
|
|
1055
|
+
writer.writeString(
|
|
1056
|
+
3,
|
|
1057
|
+
f
|
|
1058
|
+
);
|
|
1059
|
+
}
|
|
1060
|
+
};
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* optional string tag_group_id = 1;
|
|
1065
|
+
* @return {string}
|
|
1066
|
+
*/
|
|
1067
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.getTagGroupId = function() {
|
|
1068
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1069
|
+
};
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* @param {string} value
|
|
1074
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest} returns this
|
|
1075
|
+
*/
|
|
1076
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.setTagGroupId = function(value) {
|
|
1077
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* optional string tag_id = 2;
|
|
1083
|
+
* @return {string}
|
|
1084
|
+
*/
|
|
1085
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.getTagId = function() {
|
|
1086
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* @param {string} value
|
|
1092
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest} returns this
|
|
1093
|
+
*/
|
|
1094
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.setTagId = function(value) {
|
|
1095
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1096
|
+
};
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* optional string contact_id = 3;
|
|
1101
|
+
* @return {string}
|
|
1102
|
+
*/
|
|
1103
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.getContactId = function() {
|
|
1104
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* @param {string} value
|
|
1110
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest} returns this
|
|
1111
|
+
*/
|
|
1112
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.setContactId = function(value) {
|
|
1113
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1114
|
+
};
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1121
|
+
/**
|
|
1122
|
+
* Creates an object representation of this proto.
|
|
1123
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1124
|
+
* Optional fields that are not set will be set to undefined.
|
|
1125
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1126
|
+
* For the list of reserved names please see:
|
|
1127
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1128
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1129
|
+
* JSPB instance for transitional soy proto support:
|
|
1130
|
+
* http://goto/soy-param-migration
|
|
1131
|
+
* @return {!Object}
|
|
1132
|
+
*/
|
|
1133
|
+
proto.wechaty.puppet.TagContactTagAddResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1134
|
+
return proto.wechaty.puppet.TagContactTagAddResponse.toObject(opt_includeInstance, this);
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* Static version of the {@see toObject} method.
|
|
1140
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1141
|
+
* the JSPB instance for transitional soy proto support:
|
|
1142
|
+
* http://goto/soy-param-migration
|
|
1143
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddResponse} msg The msg instance to transform.
|
|
1144
|
+
* @return {!Object}
|
|
1145
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1146
|
+
*/
|
|
1147
|
+
proto.wechaty.puppet.TagContactTagAddResponse.toObject = function(includeInstance, msg) {
|
|
1148
|
+
var f, obj = {
|
|
1149
|
+
|
|
1150
|
+
};
|
|
1151
|
+
|
|
1152
|
+
if (includeInstance) {
|
|
1153
|
+
obj.$jspbMessageInstance = msg;
|
|
1154
|
+
}
|
|
1155
|
+
return obj;
|
|
1156
|
+
};
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1162
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1163
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddResponse}
|
|
1164
|
+
*/
|
|
1165
|
+
proto.wechaty.puppet.TagContactTagAddResponse.deserializeBinary = function(bytes) {
|
|
1166
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1167
|
+
var msg = new proto.wechaty.puppet.TagContactTagAddResponse;
|
|
1168
|
+
return proto.wechaty.puppet.TagContactTagAddResponse.deserializeBinaryFromReader(msg, reader);
|
|
1169
|
+
};
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1174
|
+
* given reader into the given message object.
|
|
1175
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddResponse} msg The message object to deserialize into.
|
|
1176
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1177
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddResponse}
|
|
1178
|
+
*/
|
|
1179
|
+
proto.wechaty.puppet.TagContactTagAddResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1180
|
+
while (reader.nextField()) {
|
|
1181
|
+
if (reader.isEndGroup()) {
|
|
1182
|
+
break;
|
|
1183
|
+
}
|
|
1184
|
+
var field = reader.getFieldNumber();
|
|
1185
|
+
switch (field) {
|
|
1186
|
+
default:
|
|
1187
|
+
reader.skipField();
|
|
1188
|
+
break;
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
return msg;
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1197
|
+
* @return {!Uint8Array}
|
|
1198
|
+
*/
|
|
1199
|
+
proto.wechaty.puppet.TagContactTagAddResponse.prototype.serializeBinary = function() {
|
|
1200
|
+
var writer = new jspb.BinaryWriter();
|
|
1201
|
+
proto.wechaty.puppet.TagContactTagAddResponse.serializeBinaryToWriter(this, writer);
|
|
1202
|
+
return writer.getResultBuffer();
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1208
|
+
* format), writing to the given BinaryWriter.
|
|
1209
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddResponse} message
|
|
1210
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1211
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1212
|
+
*/
|
|
1213
|
+
proto.wechaty.puppet.TagContactTagAddResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1214
|
+
var f = undefined;
|
|
1215
|
+
};
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1222
|
+
/**
|
|
1223
|
+
* Creates an object representation of this proto.
|
|
1224
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1225
|
+
* Optional fields that are not set will be set to undefined.
|
|
1226
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1227
|
+
* For the list of reserved names please see:
|
|
1228
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1229
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1230
|
+
* JSPB instance for transitional soy proto support:
|
|
1231
|
+
* http://goto/soy-param-migration
|
|
1232
|
+
* @return {!Object}
|
|
1233
|
+
*/
|
|
1234
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1235
|
+
return proto.wechaty.puppet.TagContactTagRemoveRequest.toObject(opt_includeInstance, this);
|
|
1236
|
+
};
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Static version of the {@see toObject} method.
|
|
1241
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1242
|
+
* the JSPB instance for transitional soy proto support:
|
|
1243
|
+
* http://goto/soy-param-migration
|
|
1244
|
+
* @param {!proto.wechaty.puppet.TagContactTagRemoveRequest} msg The msg instance to transform.
|
|
1245
|
+
* @return {!Object}
|
|
1246
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1247
|
+
*/
|
|
1248
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.toObject = function(includeInstance, msg) {
|
|
1249
|
+
var f, obj = {
|
|
1250
|
+
tagGroupId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1251
|
+
tagId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1252
|
+
contactId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1253
|
+
};
|
|
1254
|
+
|
|
1255
|
+
if (includeInstance) {
|
|
1256
|
+
obj.$jspbMessageInstance = msg;
|
|
1257
|
+
}
|
|
1258
|
+
return obj;
|
|
1259
|
+
};
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1265
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1266
|
+
* @return {!proto.wechaty.puppet.TagContactTagRemoveRequest}
|
|
1267
|
+
*/
|
|
1268
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.deserializeBinary = function(bytes) {
|
|
1269
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1270
|
+
var msg = new proto.wechaty.puppet.TagContactTagRemoveRequest;
|
|
1271
|
+
return proto.wechaty.puppet.TagContactTagRemoveRequest.deserializeBinaryFromReader(msg, reader);
|
|
1272
|
+
};
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1277
|
+
* given reader into the given message object.
|
|
1278
|
+
* @param {!proto.wechaty.puppet.TagContactTagRemoveRequest} msg The message object to deserialize into.
|
|
1279
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1280
|
+
* @return {!proto.wechaty.puppet.TagContactTagRemoveRequest}
|
|
1281
|
+
*/
|
|
1282
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1283
|
+
while (reader.nextField()) {
|
|
1284
|
+
if (reader.isEndGroup()) {
|
|
1285
|
+
break;
|
|
1286
|
+
}
|
|
1287
|
+
var field = reader.getFieldNumber();
|
|
1288
|
+
switch (field) {
|
|
1289
|
+
case 1:
|
|
1290
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1291
|
+
msg.setTagGroupId(value);
|
|
1292
|
+
break;
|
|
1293
|
+
case 2:
|
|
1294
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1295
|
+
msg.setTagId(value);
|
|
1296
|
+
break;
|
|
1297
|
+
case 3:
|
|
1298
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1299
|
+
msg.setContactId(value);
|
|
1300
|
+
break;
|
|
1301
|
+
default:
|
|
1302
|
+
reader.skipField();
|
|
1303
|
+
break;
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
return msg;
|
|
1307
|
+
};
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1312
|
+
* @return {!Uint8Array}
|
|
1313
|
+
*/
|
|
1314
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.serializeBinary = function() {
|
|
1315
|
+
var writer = new jspb.BinaryWriter();
|
|
1316
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.serializeBinaryToWriter(this, writer);
|
|
1317
|
+
return writer.getResultBuffer();
|
|
1318
|
+
};
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1323
|
+
* format), writing to the given BinaryWriter.
|
|
1324
|
+
* @param {!proto.wechaty.puppet.TagContactTagRemoveRequest} message
|
|
1325
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1326
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1327
|
+
*/
|
|
1328
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1329
|
+
var f = undefined;
|
|
1330
|
+
f = message.getTagGroupId();
|
|
1331
|
+
if (f.length > 0) {
|
|
1332
|
+
writer.writeString(
|
|
1333
|
+
1,
|
|
1334
|
+
f
|
|
1335
|
+
);
|
|
1336
|
+
}
|
|
1337
|
+
f = message.getTagId();
|
|
1338
|
+
if (f.length > 0) {
|
|
1339
|
+
writer.writeString(
|
|
1340
|
+
2,
|
|
1341
|
+
f
|
|
1342
|
+
);
|
|
1343
|
+
}
|
|
1344
|
+
f = message.getContactId();
|
|
1345
|
+
if (f.length > 0) {
|
|
1346
|
+
writer.writeString(
|
|
1347
|
+
3,
|
|
1348
|
+
f
|
|
1349
|
+
);
|
|
1350
|
+
}
|
|
1351
|
+
};
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* optional string tag_group_id = 1;
|
|
1356
|
+
* @return {string}
|
|
1357
|
+
*/
|
|
1358
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.getTagGroupId = function() {
|
|
1359
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* @param {string} value
|
|
1365
|
+
* @return {!proto.wechaty.puppet.TagContactTagRemoveRequest} returns this
|
|
1366
|
+
*/
|
|
1367
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.setTagGroupId = function(value) {
|
|
1368
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* optional string tag_id = 2;
|
|
1374
|
+
* @return {string}
|
|
1375
|
+
*/
|
|
1376
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.getTagId = function() {
|
|
1377
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1378
|
+
};
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* @param {string} value
|
|
1383
|
+
* @return {!proto.wechaty.puppet.TagContactTagRemoveRequest} returns this
|
|
1384
|
+
*/
|
|
1385
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.setTagId = function(value) {
|
|
1386
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1387
|
+
};
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* optional string contact_id = 3;
|
|
1392
|
+
* @return {string}
|
|
1393
|
+
*/
|
|
1394
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.getContactId = function() {
|
|
1395
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* @param {string} value
|
|
1401
|
+
* @return {!proto.wechaty.puppet.TagContactTagRemoveRequest} returns this
|
|
1402
|
+
*/
|
|
1403
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.setContactId = function(value) {
|
|
1404
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1405
|
+
};
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1412
|
+
/**
|
|
1413
|
+
* Creates an object representation of this proto.
|
|
1414
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1415
|
+
* Optional fields that are not set will be set to undefined.
|
|
1416
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1417
|
+
* For the list of reserved names please see:
|
|
1418
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1419
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1420
|
+
* JSPB instance for transitional soy proto support:
|
|
1421
|
+
* http://goto/soy-param-migration
|
|
1422
|
+
* @return {!Object}
|
|
1423
|
+
*/
|
|
1424
|
+
proto.wechaty.puppet.TagContactTagRemoveResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1425
|
+
return proto.wechaty.puppet.TagContactTagRemoveResponse.toObject(opt_includeInstance, this);
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* Static version of the {@see toObject} method.
|
|
1431
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1432
|
+
* the JSPB instance for transitional soy proto support:
|
|
1433
|
+
* http://goto/soy-param-migration
|
|
1434
|
+
* @param {!proto.wechaty.puppet.TagContactTagRemoveResponse} msg The msg instance to transform.
|
|
1435
|
+
* @return {!Object}
|
|
1436
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1437
|
+
*/
|
|
1438
|
+
proto.wechaty.puppet.TagContactTagRemoveResponse.toObject = function(includeInstance, msg) {
|
|
1439
|
+
var f, obj = {
|
|
1440
|
+
|
|
1441
|
+
};
|
|
1442
|
+
|
|
1443
|
+
if (includeInstance) {
|
|
1444
|
+
obj.$jspbMessageInstance = msg;
|
|
1445
|
+
}
|
|
1446
|
+
return obj;
|
|
1447
|
+
};
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1453
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1454
|
+
* @return {!proto.wechaty.puppet.TagContactTagRemoveResponse}
|
|
1455
|
+
*/
|
|
1456
|
+
proto.wechaty.puppet.TagContactTagRemoveResponse.deserializeBinary = function(bytes) {
|
|
1457
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1458
|
+
var msg = new proto.wechaty.puppet.TagContactTagRemoveResponse;
|
|
1459
|
+
return proto.wechaty.puppet.TagContactTagRemoveResponse.deserializeBinaryFromReader(msg, reader);
|
|
1460
|
+
};
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1465
|
+
* given reader into the given message object.
|
|
1466
|
+
* @param {!proto.wechaty.puppet.TagContactTagRemoveResponse} msg The message object to deserialize into.
|
|
1467
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1468
|
+
* @return {!proto.wechaty.puppet.TagContactTagRemoveResponse}
|
|
1469
|
+
*/
|
|
1470
|
+
proto.wechaty.puppet.TagContactTagRemoveResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1471
|
+
while (reader.nextField()) {
|
|
1472
|
+
if (reader.isEndGroup()) {
|
|
1473
|
+
break;
|
|
1474
|
+
}
|
|
1475
|
+
var field = reader.getFieldNumber();
|
|
1476
|
+
switch (field) {
|
|
1477
|
+
default:
|
|
1478
|
+
reader.skipField();
|
|
1479
|
+
break;
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
return msg;
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1488
|
+
* @return {!Uint8Array}
|
|
1489
|
+
*/
|
|
1490
|
+
proto.wechaty.puppet.TagContactTagRemoveResponse.prototype.serializeBinary = function() {
|
|
1491
|
+
var writer = new jspb.BinaryWriter();
|
|
1492
|
+
proto.wechaty.puppet.TagContactTagRemoveResponse.serializeBinaryToWriter(this, writer);
|
|
1493
|
+
return writer.getResultBuffer();
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1499
|
+
* format), writing to the given BinaryWriter.
|
|
1500
|
+
* @param {!proto.wechaty.puppet.TagContactTagRemoveResponse} message
|
|
1501
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1502
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1503
|
+
*/
|
|
1504
|
+
proto.wechaty.puppet.TagContactTagRemoveResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1505
|
+
var f = undefined;
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1513
|
+
/**
|
|
1514
|
+
* Creates an object representation of this proto.
|
|
1515
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1516
|
+
* Optional fields that are not set will be set to undefined.
|
|
1517
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1518
|
+
* For the list of reserved names please see:
|
|
1519
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1520
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1521
|
+
* JSPB instance for transitional soy proto support:
|
|
1522
|
+
* http://goto/soy-param-migration
|
|
1523
|
+
* @return {!Object}
|
|
1524
|
+
*/
|
|
1525
|
+
proto.wechaty.puppet.TagGroupAddRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1526
|
+
return proto.wechaty.puppet.TagGroupAddRequest.toObject(opt_includeInstance, this);
|
|
1527
|
+
};
|
|
1528
|
+
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* Static version of the {@see toObject} method.
|
|
1532
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1533
|
+
* the JSPB instance for transitional soy proto support:
|
|
1534
|
+
* http://goto/soy-param-migration
|
|
1535
|
+
* @param {!proto.wechaty.puppet.TagGroupAddRequest} msg The msg instance to transform.
|
|
1536
|
+
* @return {!Object}
|
|
1537
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1538
|
+
*/
|
|
1539
|
+
proto.wechaty.puppet.TagGroupAddRequest.toObject = function(includeInstance, msg) {
|
|
1540
|
+
var f, obj = {
|
|
1541
|
+
tagGroupName: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1542
|
+
};
|
|
1543
|
+
|
|
1544
|
+
if (includeInstance) {
|
|
1545
|
+
obj.$jspbMessageInstance = msg;
|
|
1546
|
+
}
|
|
1547
|
+
return obj;
|
|
1548
|
+
};
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1554
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1555
|
+
* @return {!proto.wechaty.puppet.TagGroupAddRequest}
|
|
1556
|
+
*/
|
|
1557
|
+
proto.wechaty.puppet.TagGroupAddRequest.deserializeBinary = function(bytes) {
|
|
1558
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1559
|
+
var msg = new proto.wechaty.puppet.TagGroupAddRequest;
|
|
1560
|
+
return proto.wechaty.puppet.TagGroupAddRequest.deserializeBinaryFromReader(msg, reader);
|
|
1561
|
+
};
|
|
1562
|
+
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1566
|
+
* given reader into the given message object.
|
|
1567
|
+
* @param {!proto.wechaty.puppet.TagGroupAddRequest} msg The message object to deserialize into.
|
|
1568
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1569
|
+
* @return {!proto.wechaty.puppet.TagGroupAddRequest}
|
|
1570
|
+
*/
|
|
1571
|
+
proto.wechaty.puppet.TagGroupAddRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1572
|
+
while (reader.nextField()) {
|
|
1573
|
+
if (reader.isEndGroup()) {
|
|
1574
|
+
break;
|
|
1575
|
+
}
|
|
1576
|
+
var field = reader.getFieldNumber();
|
|
1577
|
+
switch (field) {
|
|
1578
|
+
case 1:
|
|
1579
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1580
|
+
msg.setTagGroupName(value);
|
|
1581
|
+
break;
|
|
1582
|
+
default:
|
|
1583
|
+
reader.skipField();
|
|
1584
|
+
break;
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
return msg;
|
|
1588
|
+
};
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1593
|
+
* @return {!Uint8Array}
|
|
1594
|
+
*/
|
|
1595
|
+
proto.wechaty.puppet.TagGroupAddRequest.prototype.serializeBinary = function() {
|
|
1596
|
+
var writer = new jspb.BinaryWriter();
|
|
1597
|
+
proto.wechaty.puppet.TagGroupAddRequest.serializeBinaryToWriter(this, writer);
|
|
1598
|
+
return writer.getResultBuffer();
|
|
1599
|
+
};
|
|
1600
|
+
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1604
|
+
* format), writing to the given BinaryWriter.
|
|
1605
|
+
* @param {!proto.wechaty.puppet.TagGroupAddRequest} message
|
|
1606
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1607
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1608
|
+
*/
|
|
1609
|
+
proto.wechaty.puppet.TagGroupAddRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1610
|
+
var f = undefined;
|
|
1611
|
+
f = message.getTagGroupName();
|
|
1612
|
+
if (f.length > 0) {
|
|
1613
|
+
writer.writeString(
|
|
1614
|
+
1,
|
|
1615
|
+
f
|
|
1616
|
+
);
|
|
1617
|
+
}
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* optional string tag_group_name = 1;
|
|
1623
|
+
* @return {string}
|
|
1624
|
+
*/
|
|
1625
|
+
proto.wechaty.puppet.TagGroupAddRequest.prototype.getTagGroupName = function() {
|
|
1626
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1627
|
+
};
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
* @param {string} value
|
|
1632
|
+
* @return {!proto.wechaty.puppet.TagGroupAddRequest} returns this
|
|
1633
|
+
*/
|
|
1634
|
+
proto.wechaty.puppet.TagGroupAddRequest.prototype.setTagGroupName = function(value) {
|
|
1635
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1636
|
+
};
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1643
|
+
/**
|
|
1644
|
+
* Creates an object representation of this proto.
|
|
1645
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1646
|
+
* Optional fields that are not set will be set to undefined.
|
|
1647
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1648
|
+
* For the list of reserved names please see:
|
|
1649
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1650
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1651
|
+
* JSPB instance for transitional soy proto support:
|
|
1652
|
+
* http://goto/soy-param-migration
|
|
1653
|
+
* @return {!Object}
|
|
1654
|
+
*/
|
|
1655
|
+
proto.wechaty.puppet.TagGroupAddResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1656
|
+
return proto.wechaty.puppet.TagGroupAddResponse.toObject(opt_includeInstance, this);
|
|
1657
|
+
};
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
/**
|
|
1661
|
+
* Static version of the {@see toObject} method.
|
|
1662
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1663
|
+
* the JSPB instance for transitional soy proto support:
|
|
1664
|
+
* http://goto/soy-param-migration
|
|
1665
|
+
* @param {!proto.wechaty.puppet.TagGroupAddResponse} msg The msg instance to transform.
|
|
1666
|
+
* @return {!Object}
|
|
1667
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1668
|
+
*/
|
|
1669
|
+
proto.wechaty.puppet.TagGroupAddResponse.toObject = function(includeInstance, msg) {
|
|
1670
|
+
var f, obj = {
|
|
1671
|
+
payload: (f = msg.getPayload()) && proto.wechaty.puppet.TagGroupPayload.toObject(includeInstance, f)
|
|
1672
|
+
};
|
|
1673
|
+
|
|
1674
|
+
if (includeInstance) {
|
|
1675
|
+
obj.$jspbMessageInstance = msg;
|
|
1676
|
+
}
|
|
1677
|
+
return obj;
|
|
1678
|
+
};
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1684
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1685
|
+
* @return {!proto.wechaty.puppet.TagGroupAddResponse}
|
|
1686
|
+
*/
|
|
1687
|
+
proto.wechaty.puppet.TagGroupAddResponse.deserializeBinary = function(bytes) {
|
|
1688
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1689
|
+
var msg = new proto.wechaty.puppet.TagGroupAddResponse;
|
|
1690
|
+
return proto.wechaty.puppet.TagGroupAddResponse.deserializeBinaryFromReader(msg, reader);
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1696
|
+
* given reader into the given message object.
|
|
1697
|
+
* @param {!proto.wechaty.puppet.TagGroupAddResponse} msg The message object to deserialize into.
|
|
1698
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1699
|
+
* @return {!proto.wechaty.puppet.TagGroupAddResponse}
|
|
1700
|
+
*/
|
|
1701
|
+
proto.wechaty.puppet.TagGroupAddResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1702
|
+
while (reader.nextField()) {
|
|
1703
|
+
if (reader.isEndGroup()) {
|
|
1704
|
+
break;
|
|
1705
|
+
}
|
|
1706
|
+
var field = reader.getFieldNumber();
|
|
1707
|
+
switch (field) {
|
|
1708
|
+
case 1:
|
|
1709
|
+
var value = new proto.wechaty.puppet.TagGroupPayload;
|
|
1710
|
+
reader.readMessage(value,proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader);
|
|
1711
|
+
msg.setPayload(value);
|
|
1712
|
+
break;
|
|
1713
|
+
default:
|
|
1714
|
+
reader.skipField();
|
|
1715
|
+
break;
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
return msg;
|
|
1719
|
+
};
|
|
1720
|
+
|
|
1721
|
+
|
|
1722
|
+
/**
|
|
1723
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1724
|
+
* @return {!Uint8Array}
|
|
1725
|
+
*/
|
|
1726
|
+
proto.wechaty.puppet.TagGroupAddResponse.prototype.serializeBinary = function() {
|
|
1727
|
+
var writer = new jspb.BinaryWriter();
|
|
1728
|
+
proto.wechaty.puppet.TagGroupAddResponse.serializeBinaryToWriter(this, writer);
|
|
1729
|
+
return writer.getResultBuffer();
|
|
1730
|
+
};
|
|
1731
|
+
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1735
|
+
* format), writing to the given BinaryWriter.
|
|
1736
|
+
* @param {!proto.wechaty.puppet.TagGroupAddResponse} message
|
|
1737
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1738
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1739
|
+
*/
|
|
1740
|
+
proto.wechaty.puppet.TagGroupAddResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1741
|
+
var f = undefined;
|
|
1742
|
+
f = message.getPayload();
|
|
1743
|
+
if (f != null) {
|
|
1744
|
+
writer.writeMessage(
|
|
1745
|
+
1,
|
|
1746
|
+
f,
|
|
1747
|
+
proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter
|
|
1748
|
+
);
|
|
1749
|
+
}
|
|
1750
|
+
};
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* optional TagGroupPayload payload = 1;
|
|
1755
|
+
* @return {?proto.wechaty.puppet.TagGroupPayload}
|
|
1756
|
+
*/
|
|
1757
|
+
proto.wechaty.puppet.TagGroupAddResponse.prototype.getPayload = function() {
|
|
1758
|
+
return /** @type{?proto.wechaty.puppet.TagGroupPayload} */ (
|
|
1759
|
+
jspb.Message.getWrapperField(this, proto.wechaty.puppet.TagGroupPayload, 1));
|
|
1760
|
+
};
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* @param {?proto.wechaty.puppet.TagGroupPayload|undefined} value
|
|
1765
|
+
* @return {!proto.wechaty.puppet.TagGroupAddResponse} returns this
|
|
1766
|
+
*/
|
|
1767
|
+
proto.wechaty.puppet.TagGroupAddResponse.prototype.setPayload = function(value) {
|
|
1768
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1769
|
+
};
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* Clears the message field making it undefined.
|
|
1774
|
+
* @return {!proto.wechaty.puppet.TagGroupAddResponse} returns this
|
|
1775
|
+
*/
|
|
1776
|
+
proto.wechaty.puppet.TagGroupAddResponse.prototype.clearPayload = function() {
|
|
1777
|
+
return this.setPayload(undefined);
|
|
1778
|
+
};
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
/**
|
|
1782
|
+
* Returns whether this field is set.
|
|
1783
|
+
* @return {boolean}
|
|
1784
|
+
*/
|
|
1785
|
+
proto.wechaty.puppet.TagGroupAddResponse.prototype.hasPayload = function() {
|
|
1786
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1787
|
+
};
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1794
|
+
/**
|
|
1795
|
+
* Creates an object representation of this proto.
|
|
1796
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1797
|
+
* Optional fields that are not set will be set to undefined.
|
|
1798
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1799
|
+
* For the list of reserved names please see:
|
|
1800
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1801
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1802
|
+
* JSPB instance for transitional soy proto support:
|
|
1803
|
+
* http://goto/soy-param-migration
|
|
1804
|
+
* @return {!Object}
|
|
1805
|
+
*/
|
|
1806
|
+
proto.wechaty.puppet.TagGroupDeleteRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1807
|
+
return proto.wechaty.puppet.TagGroupDeleteRequest.toObject(opt_includeInstance, this);
|
|
1808
|
+
};
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* Static version of the {@see toObject} method.
|
|
1813
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1814
|
+
* the JSPB instance for transitional soy proto support:
|
|
1815
|
+
* http://goto/soy-param-migration
|
|
1816
|
+
* @param {!proto.wechaty.puppet.TagGroupDeleteRequest} msg The msg instance to transform.
|
|
1817
|
+
* @return {!Object}
|
|
1818
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1819
|
+
*/
|
|
1820
|
+
proto.wechaty.puppet.TagGroupDeleteRequest.toObject = function(includeInstance, msg) {
|
|
1821
|
+
var f, obj = {
|
|
1822
|
+
tagGroupId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1825
|
+
if (includeInstance) {
|
|
1826
|
+
obj.$jspbMessageInstance = msg;
|
|
1827
|
+
}
|
|
1828
|
+
return obj;
|
|
1829
|
+
};
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1835
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1836
|
+
* @return {!proto.wechaty.puppet.TagGroupDeleteRequest}
|
|
1837
|
+
*/
|
|
1838
|
+
proto.wechaty.puppet.TagGroupDeleteRequest.deserializeBinary = function(bytes) {
|
|
1839
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1840
|
+
var msg = new proto.wechaty.puppet.TagGroupDeleteRequest;
|
|
1841
|
+
return proto.wechaty.puppet.TagGroupDeleteRequest.deserializeBinaryFromReader(msg, reader);
|
|
1842
|
+
};
|
|
1843
|
+
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1847
|
+
* given reader into the given message object.
|
|
1848
|
+
* @param {!proto.wechaty.puppet.TagGroupDeleteRequest} msg The message object to deserialize into.
|
|
1849
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1850
|
+
* @return {!proto.wechaty.puppet.TagGroupDeleteRequest}
|
|
1851
|
+
*/
|
|
1852
|
+
proto.wechaty.puppet.TagGroupDeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1853
|
+
while (reader.nextField()) {
|
|
1854
|
+
if (reader.isEndGroup()) {
|
|
1855
|
+
break;
|
|
1856
|
+
}
|
|
1857
|
+
var field = reader.getFieldNumber();
|
|
1858
|
+
switch (field) {
|
|
1859
|
+
case 1:
|
|
1860
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1861
|
+
msg.setTagGroupId(value);
|
|
1862
|
+
break;
|
|
1863
|
+
default:
|
|
1864
|
+
reader.skipField();
|
|
1865
|
+
break;
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
return msg;
|
|
1869
|
+
};
|
|
1870
|
+
|
|
1871
|
+
|
|
1872
|
+
/**
|
|
1873
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1874
|
+
* @return {!Uint8Array}
|
|
1875
|
+
*/
|
|
1876
|
+
proto.wechaty.puppet.TagGroupDeleteRequest.prototype.serializeBinary = function() {
|
|
1877
|
+
var writer = new jspb.BinaryWriter();
|
|
1878
|
+
proto.wechaty.puppet.TagGroupDeleteRequest.serializeBinaryToWriter(this, writer);
|
|
1879
|
+
return writer.getResultBuffer();
|
|
1880
|
+
};
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
/**
|
|
1884
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1885
|
+
* format), writing to the given BinaryWriter.
|
|
1886
|
+
* @param {!proto.wechaty.puppet.TagGroupDeleteRequest} message
|
|
1887
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1888
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1889
|
+
*/
|
|
1890
|
+
proto.wechaty.puppet.TagGroupDeleteRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1891
|
+
var f = undefined;
|
|
1892
|
+
f = message.getTagGroupId();
|
|
1893
|
+
if (f.length > 0) {
|
|
1894
|
+
writer.writeString(
|
|
1895
|
+
1,
|
|
1896
|
+
f
|
|
1897
|
+
);
|
|
1898
|
+
}
|
|
1899
|
+
};
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* optional string tag_group_id = 1;
|
|
1904
|
+
* @return {string}
|
|
1905
|
+
*/
|
|
1906
|
+
proto.wechaty.puppet.TagGroupDeleteRequest.prototype.getTagGroupId = function() {
|
|
1907
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1908
|
+
};
|
|
1909
|
+
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* @param {string} value
|
|
1913
|
+
* @return {!proto.wechaty.puppet.TagGroupDeleteRequest} returns this
|
|
1914
|
+
*/
|
|
1915
|
+
proto.wechaty.puppet.TagGroupDeleteRequest.prototype.setTagGroupId = function(value) {
|
|
1916
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1917
|
+
};
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1924
|
+
/**
|
|
1925
|
+
* Creates an object representation of this proto.
|
|
1926
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1927
|
+
* Optional fields that are not set will be set to undefined.
|
|
1928
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1929
|
+
* For the list of reserved names please see:
|
|
1930
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1931
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1932
|
+
* JSPB instance for transitional soy proto support:
|
|
1933
|
+
* http://goto/soy-param-migration
|
|
1934
|
+
* @return {!Object}
|
|
1935
|
+
*/
|
|
1936
|
+
proto.wechaty.puppet.TagGroupDeleteResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1937
|
+
return proto.wechaty.puppet.TagGroupDeleteResponse.toObject(opt_includeInstance, this);
|
|
1938
|
+
};
|
|
1939
|
+
|
|
1940
|
+
|
|
1941
|
+
/**
|
|
1942
|
+
* Static version of the {@see toObject} method.
|
|
1943
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1944
|
+
* the JSPB instance for transitional soy proto support:
|
|
1945
|
+
* http://goto/soy-param-migration
|
|
1946
|
+
* @param {!proto.wechaty.puppet.TagGroupDeleteResponse} msg The msg instance to transform.
|
|
1947
|
+
* @return {!Object}
|
|
1948
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1949
|
+
*/
|
|
1950
|
+
proto.wechaty.puppet.TagGroupDeleteResponse.toObject = function(includeInstance, msg) {
|
|
1951
|
+
var f, obj = {
|
|
1952
|
+
|
|
1953
|
+
};
|
|
1954
|
+
|
|
1955
|
+
if (includeInstance) {
|
|
1956
|
+
obj.$jspbMessageInstance = msg;
|
|
1957
|
+
}
|
|
1958
|
+
return obj;
|
|
1959
|
+
};
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1965
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1966
|
+
* @return {!proto.wechaty.puppet.TagGroupDeleteResponse}
|
|
1967
|
+
*/
|
|
1968
|
+
proto.wechaty.puppet.TagGroupDeleteResponse.deserializeBinary = function(bytes) {
|
|
1969
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1970
|
+
var msg = new proto.wechaty.puppet.TagGroupDeleteResponse;
|
|
1971
|
+
return proto.wechaty.puppet.TagGroupDeleteResponse.deserializeBinaryFromReader(msg, reader);
|
|
1972
|
+
};
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1977
|
+
* given reader into the given message object.
|
|
1978
|
+
* @param {!proto.wechaty.puppet.TagGroupDeleteResponse} msg The message object to deserialize into.
|
|
1979
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1980
|
+
* @return {!proto.wechaty.puppet.TagGroupDeleteResponse}
|
|
1981
|
+
*/
|
|
1982
|
+
proto.wechaty.puppet.TagGroupDeleteResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1983
|
+
while (reader.nextField()) {
|
|
1984
|
+
if (reader.isEndGroup()) {
|
|
1985
|
+
break;
|
|
1986
|
+
}
|
|
1987
|
+
var field = reader.getFieldNumber();
|
|
1988
|
+
switch (field) {
|
|
1989
|
+
default:
|
|
1990
|
+
reader.skipField();
|
|
1991
|
+
break;
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
return msg;
|
|
1995
|
+
};
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2000
|
+
* @return {!Uint8Array}
|
|
2001
|
+
*/
|
|
2002
|
+
proto.wechaty.puppet.TagGroupDeleteResponse.prototype.serializeBinary = function() {
|
|
2003
|
+
var writer = new jspb.BinaryWriter();
|
|
2004
|
+
proto.wechaty.puppet.TagGroupDeleteResponse.serializeBinaryToWriter(this, writer);
|
|
2005
|
+
return writer.getResultBuffer();
|
|
2006
|
+
};
|
|
2007
|
+
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2011
|
+
* format), writing to the given BinaryWriter.
|
|
2012
|
+
* @param {!proto.wechaty.puppet.TagGroupDeleteResponse} message
|
|
2013
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2014
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2015
|
+
*/
|
|
2016
|
+
proto.wechaty.puppet.TagGroupDeleteResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2017
|
+
var f = undefined;
|
|
2018
|
+
};
|
|
2019
|
+
|
|
2020
|
+
|
|
2021
|
+
|
|
2022
|
+
|
|
2023
|
+
|
|
2024
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2025
|
+
/**
|
|
2026
|
+
* Creates an object representation of this proto.
|
|
2027
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2028
|
+
* Optional fields that are not set will be set to undefined.
|
|
2029
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2030
|
+
* For the list of reserved names please see:
|
|
2031
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2032
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2033
|
+
* JSPB instance for transitional soy proto support:
|
|
2034
|
+
* http://goto/soy-param-migration
|
|
2035
|
+
* @return {!Object}
|
|
2036
|
+
*/
|
|
2037
|
+
proto.wechaty.puppet.TagTagAddRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2038
|
+
return proto.wechaty.puppet.TagTagAddRequest.toObject(opt_includeInstance, this);
|
|
2039
|
+
};
|
|
2040
|
+
|
|
2041
|
+
|
|
2042
|
+
/**
|
|
2043
|
+
* Static version of the {@see toObject} method.
|
|
2044
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2045
|
+
* the JSPB instance for transitional soy proto support:
|
|
2046
|
+
* http://goto/soy-param-migration
|
|
2047
|
+
* @param {!proto.wechaty.puppet.TagTagAddRequest} msg The msg instance to transform.
|
|
2048
|
+
* @return {!Object}
|
|
2049
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2050
|
+
*/
|
|
2051
|
+
proto.wechaty.puppet.TagTagAddRequest.toObject = function(includeInstance, msg) {
|
|
2052
|
+
var f, obj = {
|
|
2053
|
+
tagGroupId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2054
|
+
tagName: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2055
|
+
};
|
|
2056
|
+
|
|
2057
|
+
if (includeInstance) {
|
|
2058
|
+
obj.$jspbMessageInstance = msg;
|
|
2059
|
+
}
|
|
2060
|
+
return obj;
|
|
2061
|
+
};
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2067
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2068
|
+
* @return {!proto.wechaty.puppet.TagTagAddRequest}
|
|
2069
|
+
*/
|
|
2070
|
+
proto.wechaty.puppet.TagTagAddRequest.deserializeBinary = function(bytes) {
|
|
2071
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2072
|
+
var msg = new proto.wechaty.puppet.TagTagAddRequest;
|
|
2073
|
+
return proto.wechaty.puppet.TagTagAddRequest.deserializeBinaryFromReader(msg, reader);
|
|
2074
|
+
};
|
|
2075
|
+
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2079
|
+
* given reader into the given message object.
|
|
2080
|
+
* @param {!proto.wechaty.puppet.TagTagAddRequest} msg The message object to deserialize into.
|
|
2081
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2082
|
+
* @return {!proto.wechaty.puppet.TagTagAddRequest}
|
|
2083
|
+
*/
|
|
2084
|
+
proto.wechaty.puppet.TagTagAddRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2085
|
+
while (reader.nextField()) {
|
|
2086
|
+
if (reader.isEndGroup()) {
|
|
2087
|
+
break;
|
|
2088
|
+
}
|
|
2089
|
+
var field = reader.getFieldNumber();
|
|
2090
|
+
switch (field) {
|
|
2091
|
+
case 1:
|
|
2092
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2093
|
+
msg.setTagGroupId(value);
|
|
2094
|
+
break;
|
|
2095
|
+
case 2:
|
|
2096
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2097
|
+
msg.setTagName(value);
|
|
2098
|
+
break;
|
|
2099
|
+
default:
|
|
2100
|
+
reader.skipField();
|
|
2101
|
+
break;
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2104
|
+
return msg;
|
|
2105
|
+
};
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2110
|
+
* @return {!Uint8Array}
|
|
2111
|
+
*/
|
|
2112
|
+
proto.wechaty.puppet.TagTagAddRequest.prototype.serializeBinary = function() {
|
|
2113
|
+
var writer = new jspb.BinaryWriter();
|
|
2114
|
+
proto.wechaty.puppet.TagTagAddRequest.serializeBinaryToWriter(this, writer);
|
|
2115
|
+
return writer.getResultBuffer();
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2121
|
+
* format), writing to the given BinaryWriter.
|
|
2122
|
+
* @param {!proto.wechaty.puppet.TagTagAddRequest} message
|
|
2123
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2124
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2125
|
+
*/
|
|
2126
|
+
proto.wechaty.puppet.TagTagAddRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2127
|
+
var f = undefined;
|
|
2128
|
+
f = message.getTagGroupId();
|
|
2129
|
+
if (f.length > 0) {
|
|
2130
|
+
writer.writeString(
|
|
2131
|
+
1,
|
|
2132
|
+
f
|
|
2133
|
+
);
|
|
2134
|
+
}
|
|
2135
|
+
f = message.getTagName();
|
|
2136
|
+
if (f.length > 0) {
|
|
2137
|
+
writer.writeString(
|
|
2138
|
+
2,
|
|
2139
|
+
f
|
|
2140
|
+
);
|
|
2141
|
+
}
|
|
2142
|
+
};
|
|
2143
|
+
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* optional string tag_group_id = 1;
|
|
2147
|
+
* @return {string}
|
|
2148
|
+
*/
|
|
2149
|
+
proto.wechaty.puppet.TagTagAddRequest.prototype.getTagGroupId = function() {
|
|
2150
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2151
|
+
};
|
|
2152
|
+
|
|
2153
|
+
|
|
2154
|
+
/**
|
|
2155
|
+
* @param {string} value
|
|
2156
|
+
* @return {!proto.wechaty.puppet.TagTagAddRequest} returns this
|
|
2157
|
+
*/
|
|
2158
|
+
proto.wechaty.puppet.TagTagAddRequest.prototype.setTagGroupId = function(value) {
|
|
2159
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2160
|
+
};
|
|
2161
|
+
|
|
2162
|
+
|
|
2163
|
+
/**
|
|
2164
|
+
* optional string tag_name = 2;
|
|
2165
|
+
* @return {string}
|
|
2166
|
+
*/
|
|
2167
|
+
proto.wechaty.puppet.TagTagAddRequest.prototype.getTagName = function() {
|
|
2168
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2169
|
+
};
|
|
2170
|
+
|
|
2171
|
+
|
|
2172
|
+
/**
|
|
2173
|
+
* @param {string} value
|
|
2174
|
+
* @return {!proto.wechaty.puppet.TagTagAddRequest} returns this
|
|
2175
|
+
*/
|
|
2176
|
+
proto.wechaty.puppet.TagTagAddRequest.prototype.setTagName = function(value) {
|
|
2177
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2180
|
+
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2185
|
+
/**
|
|
2186
|
+
* Creates an object representation of this proto.
|
|
2187
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2188
|
+
* Optional fields that are not set will be set to undefined.
|
|
2189
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2190
|
+
* For the list of reserved names please see:
|
|
2191
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2192
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2193
|
+
* JSPB instance for transitional soy proto support:
|
|
2194
|
+
* http://goto/soy-param-migration
|
|
2195
|
+
* @return {!Object}
|
|
2196
|
+
*/
|
|
2197
|
+
proto.wechaty.puppet.TagTagAddResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2198
|
+
return proto.wechaty.puppet.TagTagAddResponse.toObject(opt_includeInstance, this);
|
|
2199
|
+
};
|
|
2200
|
+
|
|
2201
|
+
|
|
2202
|
+
/**
|
|
2203
|
+
* Static version of the {@see toObject} method.
|
|
2204
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2205
|
+
* the JSPB instance for transitional soy proto support:
|
|
2206
|
+
* http://goto/soy-param-migration
|
|
2207
|
+
* @param {!proto.wechaty.puppet.TagTagAddResponse} msg The msg instance to transform.
|
|
2208
|
+
* @return {!Object}
|
|
2209
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2210
|
+
*/
|
|
2211
|
+
proto.wechaty.puppet.TagTagAddResponse.toObject = function(includeInstance, msg) {
|
|
2212
|
+
var f, obj = {
|
|
2213
|
+
payload: (f = msg.getPayload()) && proto.wechaty.puppet.TagPayload.toObject(includeInstance, f)
|
|
2214
|
+
};
|
|
2215
|
+
|
|
2216
|
+
if (includeInstance) {
|
|
2217
|
+
obj.$jspbMessageInstance = msg;
|
|
2218
|
+
}
|
|
2219
|
+
return obj;
|
|
2220
|
+
};
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2226
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2227
|
+
* @return {!proto.wechaty.puppet.TagTagAddResponse}
|
|
2228
|
+
*/
|
|
2229
|
+
proto.wechaty.puppet.TagTagAddResponse.deserializeBinary = function(bytes) {
|
|
2230
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2231
|
+
var msg = new proto.wechaty.puppet.TagTagAddResponse;
|
|
2232
|
+
return proto.wechaty.puppet.TagTagAddResponse.deserializeBinaryFromReader(msg, reader);
|
|
2233
|
+
};
|
|
2234
|
+
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2238
|
+
* given reader into the given message object.
|
|
2239
|
+
* @param {!proto.wechaty.puppet.TagTagAddResponse} msg The message object to deserialize into.
|
|
2240
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2241
|
+
* @return {!proto.wechaty.puppet.TagTagAddResponse}
|
|
2242
|
+
*/
|
|
2243
|
+
proto.wechaty.puppet.TagTagAddResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2244
|
+
while (reader.nextField()) {
|
|
2245
|
+
if (reader.isEndGroup()) {
|
|
2246
|
+
break;
|
|
2247
|
+
}
|
|
2248
|
+
var field = reader.getFieldNumber();
|
|
2249
|
+
switch (field) {
|
|
2250
|
+
case 1:
|
|
2251
|
+
var value = new proto.wechaty.puppet.TagPayload;
|
|
2252
|
+
reader.readMessage(value,proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader);
|
|
2253
|
+
msg.setPayload(value);
|
|
2254
|
+
break;
|
|
2255
|
+
default:
|
|
2256
|
+
reader.skipField();
|
|
2257
|
+
break;
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
return msg;
|
|
2261
|
+
};
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
/**
|
|
2265
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2266
|
+
* @return {!Uint8Array}
|
|
2267
|
+
*/
|
|
2268
|
+
proto.wechaty.puppet.TagTagAddResponse.prototype.serializeBinary = function() {
|
|
2269
|
+
var writer = new jspb.BinaryWriter();
|
|
2270
|
+
proto.wechaty.puppet.TagTagAddResponse.serializeBinaryToWriter(this, writer);
|
|
2271
|
+
return writer.getResultBuffer();
|
|
2272
|
+
};
|
|
2273
|
+
|
|
2274
|
+
|
|
2275
|
+
/**
|
|
2276
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2277
|
+
* format), writing to the given BinaryWriter.
|
|
2278
|
+
* @param {!proto.wechaty.puppet.TagTagAddResponse} message
|
|
2279
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2280
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2281
|
+
*/
|
|
2282
|
+
proto.wechaty.puppet.TagTagAddResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2283
|
+
var f = undefined;
|
|
2284
|
+
f = message.getPayload();
|
|
2285
|
+
if (f != null) {
|
|
2286
|
+
writer.writeMessage(
|
|
2287
|
+
1,
|
|
2288
|
+
f,
|
|
2289
|
+
proto.wechaty.puppet.TagPayload.serializeBinaryToWriter
|
|
2290
|
+
);
|
|
2291
|
+
}
|
|
2292
|
+
};
|
|
2293
|
+
|
|
2294
|
+
|
|
2295
|
+
/**
|
|
2296
|
+
* optional TagPayload payload = 1;
|
|
2297
|
+
* @return {?proto.wechaty.puppet.TagPayload}
|
|
2298
|
+
*/
|
|
2299
|
+
proto.wechaty.puppet.TagTagAddResponse.prototype.getPayload = function() {
|
|
2300
|
+
return /** @type{?proto.wechaty.puppet.TagPayload} */ (
|
|
2301
|
+
jspb.Message.getWrapperField(this, proto.wechaty.puppet.TagPayload, 1));
|
|
2302
|
+
};
|
|
2303
|
+
|
|
2304
|
+
|
|
2305
|
+
/**
|
|
2306
|
+
* @param {?proto.wechaty.puppet.TagPayload|undefined} value
|
|
2307
|
+
* @return {!proto.wechaty.puppet.TagTagAddResponse} returns this
|
|
2308
|
+
*/
|
|
2309
|
+
proto.wechaty.puppet.TagTagAddResponse.prototype.setPayload = function(value) {
|
|
2310
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2311
|
+
};
|
|
2312
|
+
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* Clears the message field making it undefined.
|
|
2316
|
+
* @return {!proto.wechaty.puppet.TagTagAddResponse} returns this
|
|
2317
|
+
*/
|
|
2318
|
+
proto.wechaty.puppet.TagTagAddResponse.prototype.clearPayload = function() {
|
|
2319
|
+
return this.setPayload(undefined);
|
|
2320
|
+
};
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* Returns whether this field is set.
|
|
2325
|
+
* @return {boolean}
|
|
2326
|
+
*/
|
|
2327
|
+
proto.wechaty.puppet.TagTagAddResponse.prototype.hasPayload = function() {
|
|
2328
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2329
|
+
};
|
|
2330
|
+
|
|
2331
|
+
|
|
2332
|
+
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2336
|
+
/**
|
|
2337
|
+
* Creates an object representation of this proto.
|
|
2338
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2339
|
+
* Optional fields that are not set will be set to undefined.
|
|
2340
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2341
|
+
* For the list of reserved names please see:
|
|
2342
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2343
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2344
|
+
* JSPB instance for transitional soy proto support:
|
|
2345
|
+
* http://goto/soy-param-migration
|
|
2346
|
+
* @return {!Object}
|
|
2347
|
+
*/
|
|
2348
|
+
proto.wechaty.puppet.TagTagDeleteRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2349
|
+
return proto.wechaty.puppet.TagTagDeleteRequest.toObject(opt_includeInstance, this);
|
|
2350
|
+
};
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
/**
|
|
2354
|
+
* Static version of the {@see toObject} method.
|
|
2355
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2356
|
+
* the JSPB instance for transitional soy proto support:
|
|
2357
|
+
* http://goto/soy-param-migration
|
|
2358
|
+
* @param {!proto.wechaty.puppet.TagTagDeleteRequest} msg The msg instance to transform.
|
|
2359
|
+
* @return {!Object}
|
|
2360
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2361
|
+
*/
|
|
2362
|
+
proto.wechaty.puppet.TagTagDeleteRequest.toObject = function(includeInstance, msg) {
|
|
2363
|
+
var f, obj = {
|
|
2364
|
+
tagGroupId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2365
|
+
tagId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2366
|
+
};
|
|
2367
|
+
|
|
2368
|
+
if (includeInstance) {
|
|
2369
|
+
obj.$jspbMessageInstance = msg;
|
|
2370
|
+
}
|
|
2371
|
+
return obj;
|
|
2372
|
+
};
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2378
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2379
|
+
* @return {!proto.wechaty.puppet.TagTagDeleteRequest}
|
|
2380
|
+
*/
|
|
2381
|
+
proto.wechaty.puppet.TagTagDeleteRequest.deserializeBinary = function(bytes) {
|
|
2382
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2383
|
+
var msg = new proto.wechaty.puppet.TagTagDeleteRequest;
|
|
2384
|
+
return proto.wechaty.puppet.TagTagDeleteRequest.deserializeBinaryFromReader(msg, reader);
|
|
2385
|
+
};
|
|
2386
|
+
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2390
|
+
* given reader into the given message object.
|
|
2391
|
+
* @param {!proto.wechaty.puppet.TagTagDeleteRequest} msg The message object to deserialize into.
|
|
2392
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2393
|
+
* @return {!proto.wechaty.puppet.TagTagDeleteRequest}
|
|
2394
|
+
*/
|
|
2395
|
+
proto.wechaty.puppet.TagTagDeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2396
|
+
while (reader.nextField()) {
|
|
2397
|
+
if (reader.isEndGroup()) {
|
|
2398
|
+
break;
|
|
2399
|
+
}
|
|
2400
|
+
var field = reader.getFieldNumber();
|
|
2401
|
+
switch (field) {
|
|
2402
|
+
case 1:
|
|
2403
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2404
|
+
msg.setTagGroupId(value);
|
|
2405
|
+
break;
|
|
2406
|
+
case 2:
|
|
2407
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2408
|
+
msg.setTagId(value);
|
|
2409
|
+
break;
|
|
2410
|
+
default:
|
|
2411
|
+
reader.skipField();
|
|
2412
|
+
break;
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2415
|
+
return msg;
|
|
2416
|
+
};
|
|
2417
|
+
|
|
2418
|
+
|
|
2419
|
+
/**
|
|
2420
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2421
|
+
* @return {!Uint8Array}
|
|
2422
|
+
*/
|
|
2423
|
+
proto.wechaty.puppet.TagTagDeleteRequest.prototype.serializeBinary = function() {
|
|
2424
|
+
var writer = new jspb.BinaryWriter();
|
|
2425
|
+
proto.wechaty.puppet.TagTagDeleteRequest.serializeBinaryToWriter(this, writer);
|
|
2426
|
+
return writer.getResultBuffer();
|
|
2427
|
+
};
|
|
2428
|
+
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2432
|
+
* format), writing to the given BinaryWriter.
|
|
2433
|
+
* @param {!proto.wechaty.puppet.TagTagDeleteRequest} message
|
|
2434
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2435
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2436
|
+
*/
|
|
2437
|
+
proto.wechaty.puppet.TagTagDeleteRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2438
|
+
var f = undefined;
|
|
2439
|
+
f = message.getTagGroupId();
|
|
2440
|
+
if (f.length > 0) {
|
|
2441
|
+
writer.writeString(
|
|
2442
|
+
1,
|
|
2443
|
+
f
|
|
2444
|
+
);
|
|
2445
|
+
}
|
|
2446
|
+
f = message.getTagId();
|
|
2447
|
+
if (f.length > 0) {
|
|
2448
|
+
writer.writeString(
|
|
2449
|
+
2,
|
|
2450
|
+
f
|
|
2451
|
+
);
|
|
2452
|
+
}
|
|
2453
|
+
};
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
/**
|
|
2457
|
+
* optional string tag_group_id = 1;
|
|
2458
|
+
* @return {string}
|
|
2459
|
+
*/
|
|
2460
|
+
proto.wechaty.puppet.TagTagDeleteRequest.prototype.getTagGroupId = function() {
|
|
2461
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2462
|
+
};
|
|
2463
|
+
|
|
2464
|
+
|
|
2465
|
+
/**
|
|
2466
|
+
* @param {string} value
|
|
2467
|
+
* @return {!proto.wechaty.puppet.TagTagDeleteRequest} returns this
|
|
2468
|
+
*/
|
|
2469
|
+
proto.wechaty.puppet.TagTagDeleteRequest.prototype.setTagGroupId = function(value) {
|
|
2470
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2471
|
+
};
|
|
2472
|
+
|
|
2473
|
+
|
|
2474
|
+
/**
|
|
2475
|
+
* optional string tag_id = 2;
|
|
2476
|
+
* @return {string}
|
|
2477
|
+
*/
|
|
2478
|
+
proto.wechaty.puppet.TagTagDeleteRequest.prototype.getTagId = function() {
|
|
2479
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2480
|
+
};
|
|
2481
|
+
|
|
2482
|
+
|
|
2483
|
+
/**
|
|
2484
|
+
* @param {string} value
|
|
2485
|
+
* @return {!proto.wechaty.puppet.TagTagDeleteRequest} returns this
|
|
2486
|
+
*/
|
|
2487
|
+
proto.wechaty.puppet.TagTagDeleteRequest.prototype.setTagId = function(value) {
|
|
2488
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2489
|
+
};
|
|
2490
|
+
|
|
2491
|
+
|
|
2492
|
+
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2496
|
+
/**
|
|
2497
|
+
* Creates an object representation of this proto.
|
|
2498
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2499
|
+
* Optional fields that are not set will be set to undefined.
|
|
2500
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2501
|
+
* For the list of reserved names please see:
|
|
2502
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2503
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2504
|
+
* JSPB instance for transitional soy proto support:
|
|
2505
|
+
* http://goto/soy-param-migration
|
|
2506
|
+
* @return {!Object}
|
|
2507
|
+
*/
|
|
2508
|
+
proto.wechaty.puppet.TagTagDeleteResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2509
|
+
return proto.wechaty.puppet.TagTagDeleteResponse.toObject(opt_includeInstance, this);
|
|
2510
|
+
};
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* Static version of the {@see toObject} method.
|
|
2515
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2516
|
+
* the JSPB instance for transitional soy proto support:
|
|
2517
|
+
* http://goto/soy-param-migration
|
|
2518
|
+
* @param {!proto.wechaty.puppet.TagTagDeleteResponse} msg The msg instance to transform.
|
|
2519
|
+
* @return {!Object}
|
|
2520
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2521
|
+
*/
|
|
2522
|
+
proto.wechaty.puppet.TagTagDeleteResponse.toObject = function(includeInstance, msg) {
|
|
2523
|
+
var f, obj = {
|
|
2524
|
+
|
|
2525
|
+
};
|
|
2526
|
+
|
|
2527
|
+
if (includeInstance) {
|
|
2528
|
+
obj.$jspbMessageInstance = msg;
|
|
2529
|
+
}
|
|
2530
|
+
return obj;
|
|
2531
|
+
};
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2537
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2538
|
+
* @return {!proto.wechaty.puppet.TagTagDeleteResponse}
|
|
2539
|
+
*/
|
|
2540
|
+
proto.wechaty.puppet.TagTagDeleteResponse.deserializeBinary = function(bytes) {
|
|
2541
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2542
|
+
var msg = new proto.wechaty.puppet.TagTagDeleteResponse;
|
|
2543
|
+
return proto.wechaty.puppet.TagTagDeleteResponse.deserializeBinaryFromReader(msg, reader);
|
|
2544
|
+
};
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
/**
|
|
2548
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2549
|
+
* given reader into the given message object.
|
|
2550
|
+
* @param {!proto.wechaty.puppet.TagTagDeleteResponse} msg The message object to deserialize into.
|
|
2551
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2552
|
+
* @return {!proto.wechaty.puppet.TagTagDeleteResponse}
|
|
2553
|
+
*/
|
|
2554
|
+
proto.wechaty.puppet.TagTagDeleteResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2555
|
+
while (reader.nextField()) {
|
|
2556
|
+
if (reader.isEndGroup()) {
|
|
2557
|
+
break;
|
|
2558
|
+
}
|
|
2559
|
+
var field = reader.getFieldNumber();
|
|
2560
|
+
switch (field) {
|
|
2561
|
+
default:
|
|
2562
|
+
reader.skipField();
|
|
2563
|
+
break;
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
return msg;
|
|
2567
|
+
};
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2572
|
+
* @return {!Uint8Array}
|
|
2573
|
+
*/
|
|
2574
|
+
proto.wechaty.puppet.TagTagDeleteResponse.prototype.serializeBinary = function() {
|
|
2575
|
+
var writer = new jspb.BinaryWriter();
|
|
2576
|
+
proto.wechaty.puppet.TagTagDeleteResponse.serializeBinaryToWriter(this, writer);
|
|
2577
|
+
return writer.getResultBuffer();
|
|
2578
|
+
};
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2583
|
+
* format), writing to the given BinaryWriter.
|
|
2584
|
+
* @param {!proto.wechaty.puppet.TagTagDeleteResponse} message
|
|
2585
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2586
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2587
|
+
*/
|
|
2588
|
+
proto.wechaty.puppet.TagTagDeleteResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2589
|
+
var f = undefined;
|
|
2590
|
+
};
|
|
2591
|
+
|
|
2592
|
+
|
|
2593
|
+
|
|
2594
|
+
|
|
2595
|
+
|
|
2596
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2597
|
+
/**
|
|
2598
|
+
* Creates an object representation of this proto.
|
|
2599
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2600
|
+
* Optional fields that are not set will be set to undefined.
|
|
2601
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2602
|
+
* For the list of reserved names please see:
|
|
2603
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2604
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2605
|
+
* JSPB instance for transitional soy proto support:
|
|
2606
|
+
* http://goto/soy-param-migration
|
|
2607
|
+
* @return {!Object}
|
|
2608
|
+
*/
|
|
2609
|
+
proto.wechaty.puppet.TagGroupListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2610
|
+
return proto.wechaty.puppet.TagGroupListRequest.toObject(opt_includeInstance, this);
|
|
2611
|
+
};
|
|
2612
|
+
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* Static version of the {@see toObject} method.
|
|
2616
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2617
|
+
* the JSPB instance for transitional soy proto support:
|
|
2618
|
+
* http://goto/soy-param-migration
|
|
2619
|
+
* @param {!proto.wechaty.puppet.TagGroupListRequest} msg The msg instance to transform.
|
|
2620
|
+
* @return {!Object}
|
|
2621
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2622
|
+
*/
|
|
2623
|
+
proto.wechaty.puppet.TagGroupListRequest.toObject = function(includeInstance, msg) {
|
|
2624
|
+
var f, obj = {
|
|
2625
|
+
|
|
2626
|
+
};
|
|
2627
|
+
|
|
2628
|
+
if (includeInstance) {
|
|
2629
|
+
obj.$jspbMessageInstance = msg;
|
|
2630
|
+
}
|
|
2631
|
+
return obj;
|
|
2632
|
+
};
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
|
|
2636
|
+
/**
|
|
2637
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2638
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2639
|
+
* @return {!proto.wechaty.puppet.TagGroupListRequest}
|
|
2640
|
+
*/
|
|
2641
|
+
proto.wechaty.puppet.TagGroupListRequest.deserializeBinary = function(bytes) {
|
|
2642
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2643
|
+
var msg = new proto.wechaty.puppet.TagGroupListRequest;
|
|
2644
|
+
return proto.wechaty.puppet.TagGroupListRequest.deserializeBinaryFromReader(msg, reader);
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
/**
|
|
2649
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2650
|
+
* given reader into the given message object.
|
|
2651
|
+
* @param {!proto.wechaty.puppet.TagGroupListRequest} msg The message object to deserialize into.
|
|
2652
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2653
|
+
* @return {!proto.wechaty.puppet.TagGroupListRequest}
|
|
2654
|
+
*/
|
|
2655
|
+
proto.wechaty.puppet.TagGroupListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2656
|
+
while (reader.nextField()) {
|
|
2657
|
+
if (reader.isEndGroup()) {
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
var field = reader.getFieldNumber();
|
|
2661
|
+
switch (field) {
|
|
2662
|
+
default:
|
|
2663
|
+
reader.skipField();
|
|
2664
|
+
break;
|
|
2665
|
+
}
|
|
2666
|
+
}
|
|
2667
|
+
return msg;
|
|
2668
|
+
};
|
|
2669
|
+
|
|
2670
|
+
|
|
2671
|
+
/**
|
|
2672
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2673
|
+
* @return {!Uint8Array}
|
|
2674
|
+
*/
|
|
2675
|
+
proto.wechaty.puppet.TagGroupListRequest.prototype.serializeBinary = function() {
|
|
2676
|
+
var writer = new jspb.BinaryWriter();
|
|
2677
|
+
proto.wechaty.puppet.TagGroupListRequest.serializeBinaryToWriter(this, writer);
|
|
2678
|
+
return writer.getResultBuffer();
|
|
2679
|
+
};
|
|
2680
|
+
|
|
2681
|
+
|
|
2682
|
+
/**
|
|
2683
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2684
|
+
* format), writing to the given BinaryWriter.
|
|
2685
|
+
* @param {!proto.wechaty.puppet.TagGroupListRequest} message
|
|
2686
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2687
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2688
|
+
*/
|
|
2689
|
+
proto.wechaty.puppet.TagGroupListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2690
|
+
var f = undefined;
|
|
2691
|
+
};
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
/**
|
|
2696
|
+
* List of repeated fields within this message type.
|
|
2697
|
+
* @private {!Array<number>}
|
|
2698
|
+
* @const
|
|
2699
|
+
*/
|
|
2700
|
+
proto.wechaty.puppet.TagGroupListResponse.repeatedFields_ = [1];
|
|
2701
|
+
|
|
2702
|
+
|
|
2703
|
+
|
|
2704
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2705
|
+
/**
|
|
2706
|
+
* Creates an object representation of this proto.
|
|
2707
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2708
|
+
* Optional fields that are not set will be set to undefined.
|
|
2709
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2710
|
+
* For the list of reserved names please see:
|
|
2711
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2712
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2713
|
+
* JSPB instance for transitional soy proto support:
|
|
2714
|
+
* http://goto/soy-param-migration
|
|
2715
|
+
* @return {!Object}
|
|
2716
|
+
*/
|
|
2717
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2718
|
+
return proto.wechaty.puppet.TagGroupListResponse.toObject(opt_includeInstance, this);
|
|
2719
|
+
};
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
/**
|
|
2723
|
+
* Static version of the {@see toObject} method.
|
|
2724
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2725
|
+
* the JSPB instance for transitional soy proto support:
|
|
2726
|
+
* http://goto/soy-param-migration
|
|
2727
|
+
* @param {!proto.wechaty.puppet.TagGroupListResponse} msg The msg instance to transform.
|
|
2728
|
+
* @return {!Object}
|
|
2729
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2730
|
+
*/
|
|
2731
|
+
proto.wechaty.puppet.TagGroupListResponse.toObject = function(includeInstance, msg) {
|
|
2732
|
+
var f, obj = {
|
|
2733
|
+
payloadsList: jspb.Message.toObjectList(msg.getPayloadsList(),
|
|
2734
|
+
proto.wechaty.puppet.TagGroupPayload.toObject, includeInstance)
|
|
2735
|
+
};
|
|
2736
|
+
|
|
2737
|
+
if (includeInstance) {
|
|
2738
|
+
obj.$jspbMessageInstance = msg;
|
|
2739
|
+
}
|
|
2740
|
+
return obj;
|
|
2741
|
+
};
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
/**
|
|
2746
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2747
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2748
|
+
* @return {!proto.wechaty.puppet.TagGroupListResponse}
|
|
2749
|
+
*/
|
|
2750
|
+
proto.wechaty.puppet.TagGroupListResponse.deserializeBinary = function(bytes) {
|
|
2751
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2752
|
+
var msg = new proto.wechaty.puppet.TagGroupListResponse;
|
|
2753
|
+
return proto.wechaty.puppet.TagGroupListResponse.deserializeBinaryFromReader(msg, reader);
|
|
2754
|
+
};
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
/**
|
|
2758
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2759
|
+
* given reader into the given message object.
|
|
2760
|
+
* @param {!proto.wechaty.puppet.TagGroupListResponse} msg The message object to deserialize into.
|
|
2761
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2762
|
+
* @return {!proto.wechaty.puppet.TagGroupListResponse}
|
|
2763
|
+
*/
|
|
2764
|
+
proto.wechaty.puppet.TagGroupListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2765
|
+
while (reader.nextField()) {
|
|
2766
|
+
if (reader.isEndGroup()) {
|
|
2767
|
+
break;
|
|
2768
|
+
}
|
|
2769
|
+
var field = reader.getFieldNumber();
|
|
2770
|
+
switch (field) {
|
|
2771
|
+
case 1:
|
|
2772
|
+
var value = new proto.wechaty.puppet.TagGroupPayload;
|
|
2773
|
+
reader.readMessage(value,proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader);
|
|
2774
|
+
msg.addPayloads(value);
|
|
2775
|
+
break;
|
|
2776
|
+
default:
|
|
2777
|
+
reader.skipField();
|
|
2778
|
+
break;
|
|
2779
|
+
}
|
|
2780
|
+
}
|
|
2781
|
+
return msg;
|
|
2782
|
+
};
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
/**
|
|
2786
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2787
|
+
* @return {!Uint8Array}
|
|
2788
|
+
*/
|
|
2789
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.serializeBinary = function() {
|
|
2790
|
+
var writer = new jspb.BinaryWriter();
|
|
2791
|
+
proto.wechaty.puppet.TagGroupListResponse.serializeBinaryToWriter(this, writer);
|
|
2792
|
+
return writer.getResultBuffer();
|
|
2793
|
+
};
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
/**
|
|
2797
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2798
|
+
* format), writing to the given BinaryWriter.
|
|
2799
|
+
* @param {!proto.wechaty.puppet.TagGroupListResponse} message
|
|
2800
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2801
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2802
|
+
*/
|
|
2803
|
+
proto.wechaty.puppet.TagGroupListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2804
|
+
var f = undefined;
|
|
2805
|
+
f = message.getPayloadsList();
|
|
2806
|
+
if (f.length > 0) {
|
|
2807
|
+
writer.writeRepeatedMessage(
|
|
2808
|
+
1,
|
|
2809
|
+
f,
|
|
2810
|
+
proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter
|
|
2811
|
+
);
|
|
2812
|
+
}
|
|
187
2813
|
};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
2814
|
+
|
|
2815
|
+
|
|
2816
|
+
/**
|
|
2817
|
+
* repeated TagGroupPayload payloads = 1;
|
|
2818
|
+
* @return {!Array<!proto.wechaty.puppet.TagGroupPayload>}
|
|
2819
|
+
*/
|
|
2820
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.getPayloadsList = function() {
|
|
2821
|
+
return /** @type{!Array<!proto.wechaty.puppet.TagGroupPayload>} */ (
|
|
2822
|
+
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagGroupPayload, 1));
|
|
2823
|
+
};
|
|
2824
|
+
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
* @param {!Array<!proto.wechaty.puppet.TagGroupPayload>} value
|
|
2828
|
+
* @return {!proto.wechaty.puppet.TagGroupListResponse} returns this
|
|
2829
|
+
*/
|
|
2830
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.setPayloadsList = function(value) {
|
|
2831
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2832
|
+
};
|
|
2833
|
+
|
|
2834
|
+
|
|
2835
|
+
/**
|
|
2836
|
+
* @param {!proto.wechaty.puppet.TagGroupPayload=} opt_value
|
|
2837
|
+
* @param {number=} opt_index
|
|
2838
|
+
* @return {!proto.wechaty.puppet.TagGroupPayload}
|
|
2839
|
+
*/
|
|
2840
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.addPayloads = function(opt_value, opt_index) {
|
|
2841
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagGroupPayload, opt_index);
|
|
2842
|
+
};
|
|
2843
|
+
|
|
2844
|
+
|
|
2845
|
+
/**
|
|
2846
|
+
* Clears the list making it empty but non-null.
|
|
2847
|
+
* @return {!proto.wechaty.puppet.TagGroupListResponse} returns this
|
|
2848
|
+
*/
|
|
2849
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.clearPayloadsList = function() {
|
|
2850
|
+
return this.setPayloadsList([]);
|
|
2851
|
+
};
|
|
2852
|
+
|
|
2853
|
+
|
|
196
2854
|
|
|
197
2855
|
|
|
198
2856
|
|
|
@@ -209,8 +2867,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
209
2867
|
* http://goto/soy-param-migration
|
|
210
2868
|
* @return {!Object}
|
|
211
2869
|
*/
|
|
212
|
-
proto.wechaty.puppet.
|
|
213
|
-
return proto.wechaty.puppet.
|
|
2870
|
+
proto.wechaty.puppet.TagGroupTagListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2871
|
+
return proto.wechaty.puppet.TagGroupTagListRequest.toObject(opt_includeInstance, this);
|
|
214
2872
|
};
|
|
215
2873
|
|
|
216
2874
|
|
|
@@ -219,14 +2877,13 @@ proto.wechaty.puppet.TagContactAddRequest.prototype.toObject = function(opt_incl
|
|
|
219
2877
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
220
2878
|
* the JSPB instance for transitional soy proto support:
|
|
221
2879
|
* http://goto/soy-param-migration
|
|
222
|
-
* @param {!proto.wechaty.puppet.
|
|
2880
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListRequest} msg The msg instance to transform.
|
|
223
2881
|
* @return {!Object}
|
|
224
2882
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
225
2883
|
*/
|
|
226
|
-
proto.wechaty.puppet.
|
|
2884
|
+
proto.wechaty.puppet.TagGroupTagListRequest.toObject = function(includeInstance, msg) {
|
|
227
2885
|
var f, obj = {
|
|
228
|
-
|
|
229
|
-
contactId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2886
|
+
tagGroupId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
230
2887
|
};
|
|
231
2888
|
|
|
232
2889
|
if (includeInstance) {
|
|
@@ -240,23 +2897,23 @@ proto.wechaty.puppet.TagContactAddRequest.toObject = function(includeInstance, m
|
|
|
240
2897
|
/**
|
|
241
2898
|
* Deserializes binary data (in protobuf wire format).
|
|
242
2899
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
243
|
-
* @return {!proto.wechaty.puppet.
|
|
2900
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListRequest}
|
|
244
2901
|
*/
|
|
245
|
-
proto.wechaty.puppet.
|
|
2902
|
+
proto.wechaty.puppet.TagGroupTagListRequest.deserializeBinary = function(bytes) {
|
|
246
2903
|
var reader = new jspb.BinaryReader(bytes);
|
|
247
|
-
var msg = new proto.wechaty.puppet.
|
|
248
|
-
return proto.wechaty.puppet.
|
|
2904
|
+
var msg = new proto.wechaty.puppet.TagGroupTagListRequest;
|
|
2905
|
+
return proto.wechaty.puppet.TagGroupTagListRequest.deserializeBinaryFromReader(msg, reader);
|
|
249
2906
|
};
|
|
250
2907
|
|
|
251
2908
|
|
|
252
2909
|
/**
|
|
253
2910
|
* Deserializes binary data (in protobuf wire format) from the
|
|
254
2911
|
* given reader into the given message object.
|
|
255
|
-
* @param {!proto.wechaty.puppet.
|
|
2912
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListRequest} msg The message object to deserialize into.
|
|
256
2913
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
257
|
-
* @return {!proto.wechaty.puppet.
|
|
2914
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListRequest}
|
|
258
2915
|
*/
|
|
259
|
-
proto.wechaty.puppet.
|
|
2916
|
+
proto.wechaty.puppet.TagGroupTagListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
260
2917
|
while (reader.nextField()) {
|
|
261
2918
|
if (reader.isEndGroup()) {
|
|
262
2919
|
break;
|
|
@@ -265,11 +2922,7 @@ proto.wechaty.puppet.TagContactAddRequest.deserializeBinaryFromReader = function
|
|
|
265
2922
|
switch (field) {
|
|
266
2923
|
case 1:
|
|
267
2924
|
var value = /** @type {string} */ (reader.readString());
|
|
268
|
-
msg.
|
|
269
|
-
break;
|
|
270
|
-
case 2:
|
|
271
|
-
var value = /** @type {string} */ (reader.readString());
|
|
272
|
-
msg.setContactId(value);
|
|
2925
|
+
msg.setTagGroupId(value);
|
|
273
2926
|
break;
|
|
274
2927
|
default:
|
|
275
2928
|
reader.skipField();
|
|
@@ -284,9 +2937,9 @@ proto.wechaty.puppet.TagContactAddRequest.deserializeBinaryFromReader = function
|
|
|
284
2937
|
* Serializes the message to binary data (in protobuf wire format).
|
|
285
2938
|
* @return {!Uint8Array}
|
|
286
2939
|
*/
|
|
287
|
-
proto.wechaty.puppet.
|
|
2940
|
+
proto.wechaty.puppet.TagGroupTagListRequest.prototype.serializeBinary = function() {
|
|
288
2941
|
var writer = new jspb.BinaryWriter();
|
|
289
|
-
proto.wechaty.puppet.
|
|
2942
|
+
proto.wechaty.puppet.TagGroupTagListRequest.serializeBinaryToWriter(this, writer);
|
|
290
2943
|
return writer.getResultBuffer();
|
|
291
2944
|
};
|
|
292
2945
|
|
|
@@ -294,65 +2947,47 @@ proto.wechaty.puppet.TagContactAddRequest.prototype.serializeBinary = function()
|
|
|
294
2947
|
/**
|
|
295
2948
|
* Serializes the given message to binary data (in protobuf wire
|
|
296
2949
|
* format), writing to the given BinaryWriter.
|
|
297
|
-
* @param {!proto.wechaty.puppet.
|
|
2950
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListRequest} message
|
|
298
2951
|
* @param {!jspb.BinaryWriter} writer
|
|
299
2952
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
300
2953
|
*/
|
|
301
|
-
proto.wechaty.puppet.
|
|
2954
|
+
proto.wechaty.puppet.TagGroupTagListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
302
2955
|
var f = undefined;
|
|
303
|
-
f = message.
|
|
2956
|
+
f = message.getTagGroupId();
|
|
304
2957
|
if (f.length > 0) {
|
|
305
2958
|
writer.writeString(
|
|
306
2959
|
1,
|
|
307
2960
|
f
|
|
308
2961
|
);
|
|
309
2962
|
}
|
|
310
|
-
f = message.getContactId();
|
|
311
|
-
if (f.length > 0) {
|
|
312
|
-
writer.writeString(
|
|
313
|
-
2,
|
|
314
|
-
f
|
|
315
|
-
);
|
|
316
|
-
}
|
|
317
2963
|
};
|
|
318
2964
|
|
|
319
2965
|
|
|
320
2966
|
/**
|
|
321
|
-
* optional string
|
|
2967
|
+
* optional string tag_group_id = 1;
|
|
322
2968
|
* @return {string}
|
|
323
2969
|
*/
|
|
324
|
-
proto.wechaty.puppet.
|
|
2970
|
+
proto.wechaty.puppet.TagGroupTagListRequest.prototype.getTagGroupId = function() {
|
|
325
2971
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
326
2972
|
};
|
|
327
2973
|
|
|
328
2974
|
|
|
329
2975
|
/**
|
|
330
2976
|
* @param {string} value
|
|
331
|
-
* @return {!proto.wechaty.puppet.
|
|
2977
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListRequest} returns this
|
|
332
2978
|
*/
|
|
333
|
-
proto.wechaty.puppet.
|
|
2979
|
+
proto.wechaty.puppet.TagGroupTagListRequest.prototype.setTagGroupId = function(value) {
|
|
334
2980
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
335
2981
|
};
|
|
336
2982
|
|
|
337
2983
|
|
|
338
|
-
/**
|
|
339
|
-
* optional string contact_id = 2;
|
|
340
|
-
* @return {string}
|
|
341
|
-
*/
|
|
342
|
-
proto.wechaty.puppet.TagContactAddRequest.prototype.getContactId = function() {
|
|
343
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
344
|
-
};
|
|
345
|
-
|
|
346
2984
|
|
|
347
2985
|
/**
|
|
348
|
-
*
|
|
349
|
-
* @
|
|
2986
|
+
* List of repeated fields within this message type.
|
|
2987
|
+
* @private {!Array<number>}
|
|
2988
|
+
* @const
|
|
350
2989
|
*/
|
|
351
|
-
proto.wechaty.puppet.
|
|
352
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
353
|
-
};
|
|
354
|
-
|
|
355
|
-
|
|
2990
|
+
proto.wechaty.puppet.TagGroupTagListResponse.repeatedFields_ = [1];
|
|
356
2991
|
|
|
357
2992
|
|
|
358
2993
|
|
|
@@ -369,8 +3004,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
369
3004
|
* http://goto/soy-param-migration
|
|
370
3005
|
* @return {!Object}
|
|
371
3006
|
*/
|
|
372
|
-
proto.wechaty.puppet.
|
|
373
|
-
return proto.wechaty.puppet.
|
|
3007
|
+
proto.wechaty.puppet.TagGroupTagListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3008
|
+
return proto.wechaty.puppet.TagGroupTagListResponse.toObject(opt_includeInstance, this);
|
|
374
3009
|
};
|
|
375
3010
|
|
|
376
3011
|
|
|
@@ -379,13 +3014,14 @@ proto.wechaty.puppet.TagContactAddResponse.prototype.toObject = function(opt_inc
|
|
|
379
3014
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
380
3015
|
* the JSPB instance for transitional soy proto support:
|
|
381
3016
|
* http://goto/soy-param-migration
|
|
382
|
-
* @param {!proto.wechaty.puppet.
|
|
3017
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListResponse} msg The msg instance to transform.
|
|
383
3018
|
* @return {!Object}
|
|
384
3019
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
385
3020
|
*/
|
|
386
|
-
proto.wechaty.puppet.
|
|
3021
|
+
proto.wechaty.puppet.TagGroupTagListResponse.toObject = function(includeInstance, msg) {
|
|
387
3022
|
var f, obj = {
|
|
388
|
-
|
|
3023
|
+
payloadsList: jspb.Message.toObjectList(msg.getPayloadsList(),
|
|
3024
|
+
proto.wechaty.puppet.TagPayload.toObject, includeInstance)
|
|
389
3025
|
};
|
|
390
3026
|
|
|
391
3027
|
if (includeInstance) {
|
|
@@ -399,29 +3035,34 @@ proto.wechaty.puppet.TagContactAddResponse.toObject = function(includeInstance,
|
|
|
399
3035
|
/**
|
|
400
3036
|
* Deserializes binary data (in protobuf wire format).
|
|
401
3037
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
402
|
-
* @return {!proto.wechaty.puppet.
|
|
3038
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListResponse}
|
|
403
3039
|
*/
|
|
404
|
-
proto.wechaty.puppet.
|
|
3040
|
+
proto.wechaty.puppet.TagGroupTagListResponse.deserializeBinary = function(bytes) {
|
|
405
3041
|
var reader = new jspb.BinaryReader(bytes);
|
|
406
|
-
var msg = new proto.wechaty.puppet.
|
|
407
|
-
return proto.wechaty.puppet.
|
|
3042
|
+
var msg = new proto.wechaty.puppet.TagGroupTagListResponse;
|
|
3043
|
+
return proto.wechaty.puppet.TagGroupTagListResponse.deserializeBinaryFromReader(msg, reader);
|
|
408
3044
|
};
|
|
409
3045
|
|
|
410
3046
|
|
|
411
3047
|
/**
|
|
412
3048
|
* Deserializes binary data (in protobuf wire format) from the
|
|
413
3049
|
* given reader into the given message object.
|
|
414
|
-
* @param {!proto.wechaty.puppet.
|
|
3050
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListResponse} msg The message object to deserialize into.
|
|
415
3051
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
416
|
-
* @return {!proto.wechaty.puppet.
|
|
3052
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListResponse}
|
|
417
3053
|
*/
|
|
418
|
-
proto.wechaty.puppet.
|
|
3054
|
+
proto.wechaty.puppet.TagGroupTagListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
419
3055
|
while (reader.nextField()) {
|
|
420
3056
|
if (reader.isEndGroup()) {
|
|
421
3057
|
break;
|
|
422
3058
|
}
|
|
423
3059
|
var field = reader.getFieldNumber();
|
|
424
3060
|
switch (field) {
|
|
3061
|
+
case 1:
|
|
3062
|
+
var value = new proto.wechaty.puppet.TagPayload;
|
|
3063
|
+
reader.readMessage(value,proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader);
|
|
3064
|
+
msg.addPayloads(value);
|
|
3065
|
+
break;
|
|
425
3066
|
default:
|
|
426
3067
|
reader.skipField();
|
|
427
3068
|
break;
|
|
@@ -435,9 +3076,9 @@ proto.wechaty.puppet.TagContactAddResponse.deserializeBinaryFromReader = functio
|
|
|
435
3076
|
* Serializes the message to binary data (in protobuf wire format).
|
|
436
3077
|
* @return {!Uint8Array}
|
|
437
3078
|
*/
|
|
438
|
-
proto.wechaty.puppet.
|
|
3079
|
+
proto.wechaty.puppet.TagGroupTagListResponse.prototype.serializeBinary = function() {
|
|
439
3080
|
var writer = new jspb.BinaryWriter();
|
|
440
|
-
proto.wechaty.puppet.
|
|
3081
|
+
proto.wechaty.puppet.TagGroupTagListResponse.serializeBinaryToWriter(this, writer);
|
|
441
3082
|
return writer.getResultBuffer();
|
|
442
3083
|
};
|
|
443
3084
|
|
|
@@ -445,12 +3086,58 @@ proto.wechaty.puppet.TagContactAddResponse.prototype.serializeBinary = function(
|
|
|
445
3086
|
/**
|
|
446
3087
|
* Serializes the given message to binary data (in protobuf wire
|
|
447
3088
|
* format), writing to the given BinaryWriter.
|
|
448
|
-
* @param {!proto.wechaty.puppet.
|
|
3089
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListResponse} message
|
|
449
3090
|
* @param {!jspb.BinaryWriter} writer
|
|
450
3091
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
451
3092
|
*/
|
|
452
|
-
proto.wechaty.puppet.
|
|
3093
|
+
proto.wechaty.puppet.TagGroupTagListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
453
3094
|
var f = undefined;
|
|
3095
|
+
f = message.getPayloadsList();
|
|
3096
|
+
if (f.length > 0) {
|
|
3097
|
+
writer.writeRepeatedMessage(
|
|
3098
|
+
1,
|
|
3099
|
+
f,
|
|
3100
|
+
proto.wechaty.puppet.TagPayload.serializeBinaryToWriter
|
|
3101
|
+
);
|
|
3102
|
+
}
|
|
3103
|
+
};
|
|
3104
|
+
|
|
3105
|
+
|
|
3106
|
+
/**
|
|
3107
|
+
* repeated TagPayload payloads = 1;
|
|
3108
|
+
* @return {!Array<!proto.wechaty.puppet.TagPayload>}
|
|
3109
|
+
*/
|
|
3110
|
+
proto.wechaty.puppet.TagGroupTagListResponse.prototype.getPayloadsList = function() {
|
|
3111
|
+
return /** @type{!Array<!proto.wechaty.puppet.TagPayload>} */ (
|
|
3112
|
+
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagPayload, 1));
|
|
3113
|
+
};
|
|
3114
|
+
|
|
3115
|
+
|
|
3116
|
+
/**
|
|
3117
|
+
* @param {!Array<!proto.wechaty.puppet.TagPayload>} value
|
|
3118
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListResponse} returns this
|
|
3119
|
+
*/
|
|
3120
|
+
proto.wechaty.puppet.TagGroupTagListResponse.prototype.setPayloadsList = function(value) {
|
|
3121
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3122
|
+
};
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* @param {!proto.wechaty.puppet.TagPayload=} opt_value
|
|
3127
|
+
* @param {number=} opt_index
|
|
3128
|
+
* @return {!proto.wechaty.puppet.TagPayload}
|
|
3129
|
+
*/
|
|
3130
|
+
proto.wechaty.puppet.TagGroupTagListResponse.prototype.addPayloads = function(opt_value, opt_index) {
|
|
3131
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagPayload, opt_index);
|
|
3132
|
+
};
|
|
3133
|
+
|
|
3134
|
+
|
|
3135
|
+
/**
|
|
3136
|
+
* Clears the list making it empty but non-null.
|
|
3137
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListResponse} returns this
|
|
3138
|
+
*/
|
|
3139
|
+
proto.wechaty.puppet.TagGroupTagListResponse.prototype.clearPayloadsList = function() {
|
|
3140
|
+
return this.setPayloadsList([]);
|
|
454
3141
|
};
|
|
455
3142
|
|
|
456
3143
|
|
|
@@ -470,8 +3157,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
470
3157
|
* http://goto/soy-param-migration
|
|
471
3158
|
* @return {!Object}
|
|
472
3159
|
*/
|
|
473
|
-
proto.wechaty.puppet.
|
|
474
|
-
return proto.wechaty.puppet.
|
|
3160
|
+
proto.wechaty.puppet.TagTagListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3161
|
+
return proto.wechaty.puppet.TagTagListRequest.toObject(opt_includeInstance, this);
|
|
475
3162
|
};
|
|
476
3163
|
|
|
477
3164
|
|
|
@@ -480,14 +3167,13 @@ proto.wechaty.puppet.TagContactRemoveRequest.prototype.toObject = function(opt_i
|
|
|
480
3167
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
481
3168
|
* the JSPB instance for transitional soy proto support:
|
|
482
3169
|
* http://goto/soy-param-migration
|
|
483
|
-
* @param {!proto.wechaty.puppet.
|
|
3170
|
+
* @param {!proto.wechaty.puppet.TagTagListRequest} msg The msg instance to transform.
|
|
484
3171
|
* @return {!Object}
|
|
485
3172
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
486
3173
|
*/
|
|
487
|
-
proto.wechaty.puppet.
|
|
3174
|
+
proto.wechaty.puppet.TagTagListRequest.toObject = function(includeInstance, msg) {
|
|
488
3175
|
var f, obj = {
|
|
489
|
-
|
|
490
|
-
contactId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3176
|
+
|
|
491
3177
|
};
|
|
492
3178
|
|
|
493
3179
|
if (includeInstance) {
|
|
@@ -501,37 +3187,29 @@ proto.wechaty.puppet.TagContactRemoveRequest.toObject = function(includeInstance
|
|
|
501
3187
|
/**
|
|
502
3188
|
* Deserializes binary data (in protobuf wire format).
|
|
503
3189
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
504
|
-
* @return {!proto.wechaty.puppet.
|
|
3190
|
+
* @return {!proto.wechaty.puppet.TagTagListRequest}
|
|
505
3191
|
*/
|
|
506
|
-
proto.wechaty.puppet.
|
|
3192
|
+
proto.wechaty.puppet.TagTagListRequest.deserializeBinary = function(bytes) {
|
|
507
3193
|
var reader = new jspb.BinaryReader(bytes);
|
|
508
|
-
var msg = new proto.wechaty.puppet.
|
|
509
|
-
return proto.wechaty.puppet.
|
|
3194
|
+
var msg = new proto.wechaty.puppet.TagTagListRequest;
|
|
3195
|
+
return proto.wechaty.puppet.TagTagListRequest.deserializeBinaryFromReader(msg, reader);
|
|
510
3196
|
};
|
|
511
3197
|
|
|
512
3198
|
|
|
513
3199
|
/**
|
|
514
3200
|
* Deserializes binary data (in protobuf wire format) from the
|
|
515
3201
|
* given reader into the given message object.
|
|
516
|
-
* @param {!proto.wechaty.puppet.
|
|
3202
|
+
* @param {!proto.wechaty.puppet.TagTagListRequest} msg The message object to deserialize into.
|
|
517
3203
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
518
|
-
* @return {!proto.wechaty.puppet.
|
|
3204
|
+
* @return {!proto.wechaty.puppet.TagTagListRequest}
|
|
519
3205
|
*/
|
|
520
|
-
proto.wechaty.puppet.
|
|
3206
|
+
proto.wechaty.puppet.TagTagListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
521
3207
|
while (reader.nextField()) {
|
|
522
3208
|
if (reader.isEndGroup()) {
|
|
523
3209
|
break;
|
|
524
3210
|
}
|
|
525
3211
|
var field = reader.getFieldNumber();
|
|
526
3212
|
switch (field) {
|
|
527
|
-
case 1:
|
|
528
|
-
var value = /** @type {string} */ (reader.readString());
|
|
529
|
-
msg.setId(value);
|
|
530
|
-
break;
|
|
531
|
-
case 2:
|
|
532
|
-
var value = /** @type {string} */ (reader.readString());
|
|
533
|
-
msg.setContactId(value);
|
|
534
|
-
break;
|
|
535
3213
|
default:
|
|
536
3214
|
reader.skipField();
|
|
537
3215
|
break;
|
|
@@ -545,9 +3223,9 @@ proto.wechaty.puppet.TagContactRemoveRequest.deserializeBinaryFromReader = funct
|
|
|
545
3223
|
* Serializes the message to binary data (in protobuf wire format).
|
|
546
3224
|
* @return {!Uint8Array}
|
|
547
3225
|
*/
|
|
548
|
-
proto.wechaty.puppet.
|
|
3226
|
+
proto.wechaty.puppet.TagTagListRequest.prototype.serializeBinary = function() {
|
|
549
3227
|
var writer = new jspb.BinaryWriter();
|
|
550
|
-
proto.wechaty.puppet.
|
|
3228
|
+
proto.wechaty.puppet.TagTagListRequest.serializeBinaryToWriter(this, writer);
|
|
551
3229
|
return writer.getResultBuffer();
|
|
552
3230
|
};
|
|
553
3231
|
|
|
@@ -555,65 +3233,22 @@ proto.wechaty.puppet.TagContactRemoveRequest.prototype.serializeBinary = functio
|
|
|
555
3233
|
/**
|
|
556
3234
|
* Serializes the given message to binary data (in protobuf wire
|
|
557
3235
|
* format), writing to the given BinaryWriter.
|
|
558
|
-
* @param {!proto.wechaty.puppet.
|
|
3236
|
+
* @param {!proto.wechaty.puppet.TagTagListRequest} message
|
|
559
3237
|
* @param {!jspb.BinaryWriter} writer
|
|
560
3238
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
561
3239
|
*/
|
|
562
|
-
proto.wechaty.puppet.
|
|
3240
|
+
proto.wechaty.puppet.TagTagListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
563
3241
|
var f = undefined;
|
|
564
|
-
f = message.getId();
|
|
565
|
-
if (f.length > 0) {
|
|
566
|
-
writer.writeString(
|
|
567
|
-
1,
|
|
568
|
-
f
|
|
569
|
-
);
|
|
570
|
-
}
|
|
571
|
-
f = message.getContactId();
|
|
572
|
-
if (f.length > 0) {
|
|
573
|
-
writer.writeString(
|
|
574
|
-
2,
|
|
575
|
-
f
|
|
576
|
-
);
|
|
577
|
-
}
|
|
578
|
-
};
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* optional string id = 1;
|
|
583
|
-
* @return {string}
|
|
584
|
-
*/
|
|
585
|
-
proto.wechaty.puppet.TagContactRemoveRequest.prototype.getId = function() {
|
|
586
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
587
|
-
};
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
/**
|
|
591
|
-
* @param {string} value
|
|
592
|
-
* @return {!proto.wechaty.puppet.TagContactRemoveRequest} returns this
|
|
593
|
-
*/
|
|
594
|
-
proto.wechaty.puppet.TagContactRemoveRequest.prototype.setId = function(value) {
|
|
595
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
596
3242
|
};
|
|
597
3243
|
|
|
598
3244
|
|
|
599
|
-
/**
|
|
600
|
-
* optional string contact_id = 2;
|
|
601
|
-
* @return {string}
|
|
602
|
-
*/
|
|
603
|
-
proto.wechaty.puppet.TagContactRemoveRequest.prototype.getContactId = function() {
|
|
604
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
605
|
-
};
|
|
606
|
-
|
|
607
3245
|
|
|
608
3246
|
/**
|
|
609
|
-
*
|
|
610
|
-
* @
|
|
3247
|
+
* List of repeated fields within this message type.
|
|
3248
|
+
* @private {!Array<number>}
|
|
3249
|
+
* @const
|
|
611
3250
|
*/
|
|
612
|
-
proto.wechaty.puppet.
|
|
613
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
614
|
-
};
|
|
615
|
-
|
|
616
|
-
|
|
3251
|
+
proto.wechaty.puppet.TagTagListResponse.repeatedFields_ = [1];
|
|
617
3252
|
|
|
618
3253
|
|
|
619
3254
|
|
|
@@ -630,8 +3265,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
630
3265
|
* http://goto/soy-param-migration
|
|
631
3266
|
* @return {!Object}
|
|
632
3267
|
*/
|
|
633
|
-
proto.wechaty.puppet.
|
|
634
|
-
return proto.wechaty.puppet.
|
|
3268
|
+
proto.wechaty.puppet.TagTagListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3269
|
+
return proto.wechaty.puppet.TagTagListResponse.toObject(opt_includeInstance, this);
|
|
635
3270
|
};
|
|
636
3271
|
|
|
637
3272
|
|
|
@@ -640,13 +3275,14 @@ proto.wechaty.puppet.TagContactRemoveResponse.prototype.toObject = function(opt_
|
|
|
640
3275
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
641
3276
|
* the JSPB instance for transitional soy proto support:
|
|
642
3277
|
* http://goto/soy-param-migration
|
|
643
|
-
* @param {!proto.wechaty.puppet.
|
|
3278
|
+
* @param {!proto.wechaty.puppet.TagTagListResponse} msg The msg instance to transform.
|
|
644
3279
|
* @return {!Object}
|
|
645
3280
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
646
3281
|
*/
|
|
647
|
-
proto.wechaty.puppet.
|
|
3282
|
+
proto.wechaty.puppet.TagTagListResponse.toObject = function(includeInstance, msg) {
|
|
648
3283
|
var f, obj = {
|
|
649
|
-
|
|
3284
|
+
payloadsList: jspb.Message.toObjectList(msg.getPayloadsList(),
|
|
3285
|
+
proto.wechaty.puppet.TagPayload.toObject, includeInstance)
|
|
650
3286
|
};
|
|
651
3287
|
|
|
652
3288
|
if (includeInstance) {
|
|
@@ -660,29 +3296,34 @@ proto.wechaty.puppet.TagContactRemoveResponse.toObject = function(includeInstanc
|
|
|
660
3296
|
/**
|
|
661
3297
|
* Deserializes binary data (in protobuf wire format).
|
|
662
3298
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
663
|
-
* @return {!proto.wechaty.puppet.
|
|
3299
|
+
* @return {!proto.wechaty.puppet.TagTagListResponse}
|
|
664
3300
|
*/
|
|
665
|
-
proto.wechaty.puppet.
|
|
3301
|
+
proto.wechaty.puppet.TagTagListResponse.deserializeBinary = function(bytes) {
|
|
666
3302
|
var reader = new jspb.BinaryReader(bytes);
|
|
667
|
-
var msg = new proto.wechaty.puppet.
|
|
668
|
-
return proto.wechaty.puppet.
|
|
3303
|
+
var msg = new proto.wechaty.puppet.TagTagListResponse;
|
|
3304
|
+
return proto.wechaty.puppet.TagTagListResponse.deserializeBinaryFromReader(msg, reader);
|
|
669
3305
|
};
|
|
670
3306
|
|
|
671
3307
|
|
|
672
3308
|
/**
|
|
673
3309
|
* Deserializes binary data (in protobuf wire format) from the
|
|
674
3310
|
* given reader into the given message object.
|
|
675
|
-
* @param {!proto.wechaty.puppet.
|
|
3311
|
+
* @param {!proto.wechaty.puppet.TagTagListResponse} msg The message object to deserialize into.
|
|
676
3312
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
677
|
-
* @return {!proto.wechaty.puppet.
|
|
3313
|
+
* @return {!proto.wechaty.puppet.TagTagListResponse}
|
|
678
3314
|
*/
|
|
679
|
-
proto.wechaty.puppet.
|
|
3315
|
+
proto.wechaty.puppet.TagTagListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
680
3316
|
while (reader.nextField()) {
|
|
681
3317
|
if (reader.isEndGroup()) {
|
|
682
3318
|
break;
|
|
683
3319
|
}
|
|
684
3320
|
var field = reader.getFieldNumber();
|
|
685
3321
|
switch (field) {
|
|
3322
|
+
case 1:
|
|
3323
|
+
var value = new proto.wechaty.puppet.TagPayload;
|
|
3324
|
+
reader.readMessage(value,proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader);
|
|
3325
|
+
msg.addPayloads(value);
|
|
3326
|
+
break;
|
|
686
3327
|
default:
|
|
687
3328
|
reader.skipField();
|
|
688
3329
|
break;
|
|
@@ -696,9 +3337,9 @@ proto.wechaty.puppet.TagContactRemoveResponse.deserializeBinaryFromReader = func
|
|
|
696
3337
|
* Serializes the message to binary data (in protobuf wire format).
|
|
697
3338
|
* @return {!Uint8Array}
|
|
698
3339
|
*/
|
|
699
|
-
proto.wechaty.puppet.
|
|
3340
|
+
proto.wechaty.puppet.TagTagListResponse.prototype.serializeBinary = function() {
|
|
700
3341
|
var writer = new jspb.BinaryWriter();
|
|
701
|
-
proto.wechaty.puppet.
|
|
3342
|
+
proto.wechaty.puppet.TagTagListResponse.serializeBinaryToWriter(this, writer);
|
|
702
3343
|
return writer.getResultBuffer();
|
|
703
3344
|
};
|
|
704
3345
|
|
|
@@ -706,12 +3347,58 @@ proto.wechaty.puppet.TagContactRemoveResponse.prototype.serializeBinary = functi
|
|
|
706
3347
|
/**
|
|
707
3348
|
* Serializes the given message to binary data (in protobuf wire
|
|
708
3349
|
* format), writing to the given BinaryWriter.
|
|
709
|
-
* @param {!proto.wechaty.puppet.
|
|
3350
|
+
* @param {!proto.wechaty.puppet.TagTagListResponse} message
|
|
710
3351
|
* @param {!jspb.BinaryWriter} writer
|
|
711
3352
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
712
3353
|
*/
|
|
713
|
-
proto.wechaty.puppet.
|
|
3354
|
+
proto.wechaty.puppet.TagTagListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
714
3355
|
var f = undefined;
|
|
3356
|
+
f = message.getPayloadsList();
|
|
3357
|
+
if (f.length > 0) {
|
|
3358
|
+
writer.writeRepeatedMessage(
|
|
3359
|
+
1,
|
|
3360
|
+
f,
|
|
3361
|
+
proto.wechaty.puppet.TagPayload.serializeBinaryToWriter
|
|
3362
|
+
);
|
|
3363
|
+
}
|
|
3364
|
+
};
|
|
3365
|
+
|
|
3366
|
+
|
|
3367
|
+
/**
|
|
3368
|
+
* repeated TagPayload payloads = 1;
|
|
3369
|
+
* @return {!Array<!proto.wechaty.puppet.TagPayload>}
|
|
3370
|
+
*/
|
|
3371
|
+
proto.wechaty.puppet.TagTagListResponse.prototype.getPayloadsList = function() {
|
|
3372
|
+
return /** @type{!Array<!proto.wechaty.puppet.TagPayload>} */ (
|
|
3373
|
+
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagPayload, 1));
|
|
3374
|
+
};
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
/**
|
|
3378
|
+
* @param {!Array<!proto.wechaty.puppet.TagPayload>} value
|
|
3379
|
+
* @return {!proto.wechaty.puppet.TagTagListResponse} returns this
|
|
3380
|
+
*/
|
|
3381
|
+
proto.wechaty.puppet.TagTagListResponse.prototype.setPayloadsList = function(value) {
|
|
3382
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3383
|
+
};
|
|
3384
|
+
|
|
3385
|
+
|
|
3386
|
+
/**
|
|
3387
|
+
* @param {!proto.wechaty.puppet.TagPayload=} opt_value
|
|
3388
|
+
* @param {number=} opt_index
|
|
3389
|
+
* @return {!proto.wechaty.puppet.TagPayload}
|
|
3390
|
+
*/
|
|
3391
|
+
proto.wechaty.puppet.TagTagListResponse.prototype.addPayloads = function(opt_value, opt_index) {
|
|
3392
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagPayload, opt_index);
|
|
3393
|
+
};
|
|
3394
|
+
|
|
3395
|
+
|
|
3396
|
+
/**
|
|
3397
|
+
* Clears the list making it empty but non-null.
|
|
3398
|
+
* @return {!proto.wechaty.puppet.TagTagListResponse} returns this
|
|
3399
|
+
*/
|
|
3400
|
+
proto.wechaty.puppet.TagTagListResponse.prototype.clearPayloadsList = function() {
|
|
3401
|
+
return this.setPayloadsList([]);
|
|
715
3402
|
};
|
|
716
3403
|
|
|
717
3404
|
|
|
@@ -731,8 +3418,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
731
3418
|
* http://goto/soy-param-migration
|
|
732
3419
|
* @return {!Object}
|
|
733
3420
|
*/
|
|
734
|
-
proto.wechaty.puppet.
|
|
735
|
-
return proto.wechaty.puppet.
|
|
3421
|
+
proto.wechaty.puppet.TagContactTagListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3422
|
+
return proto.wechaty.puppet.TagContactTagListRequest.toObject(opt_includeInstance, this);
|
|
736
3423
|
};
|
|
737
3424
|
|
|
738
3425
|
|
|
@@ -741,13 +3428,13 @@ proto.wechaty.puppet.TagContactDeleteRequest.prototype.toObject = function(opt_i
|
|
|
741
3428
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
742
3429
|
* the JSPB instance for transitional soy proto support:
|
|
743
3430
|
* http://goto/soy-param-migration
|
|
744
|
-
* @param {!proto.wechaty.puppet.
|
|
3431
|
+
* @param {!proto.wechaty.puppet.TagContactTagListRequest} msg The msg instance to transform.
|
|
745
3432
|
* @return {!Object}
|
|
746
3433
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
747
3434
|
*/
|
|
748
|
-
proto.wechaty.puppet.
|
|
3435
|
+
proto.wechaty.puppet.TagContactTagListRequest.toObject = function(includeInstance, msg) {
|
|
749
3436
|
var f, obj = {
|
|
750
|
-
|
|
3437
|
+
contactId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
751
3438
|
};
|
|
752
3439
|
|
|
753
3440
|
if (includeInstance) {
|
|
@@ -761,23 +3448,23 @@ proto.wechaty.puppet.TagContactDeleteRequest.toObject = function(includeInstance
|
|
|
761
3448
|
/**
|
|
762
3449
|
* Deserializes binary data (in protobuf wire format).
|
|
763
3450
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
764
|
-
* @return {!proto.wechaty.puppet.
|
|
3451
|
+
* @return {!proto.wechaty.puppet.TagContactTagListRequest}
|
|
765
3452
|
*/
|
|
766
|
-
proto.wechaty.puppet.
|
|
3453
|
+
proto.wechaty.puppet.TagContactTagListRequest.deserializeBinary = function(bytes) {
|
|
767
3454
|
var reader = new jspb.BinaryReader(bytes);
|
|
768
|
-
var msg = new proto.wechaty.puppet.
|
|
769
|
-
return proto.wechaty.puppet.
|
|
3455
|
+
var msg = new proto.wechaty.puppet.TagContactTagListRequest;
|
|
3456
|
+
return proto.wechaty.puppet.TagContactTagListRequest.deserializeBinaryFromReader(msg, reader);
|
|
770
3457
|
};
|
|
771
3458
|
|
|
772
3459
|
|
|
773
3460
|
/**
|
|
774
3461
|
* Deserializes binary data (in protobuf wire format) from the
|
|
775
3462
|
* given reader into the given message object.
|
|
776
|
-
* @param {!proto.wechaty.puppet.
|
|
3463
|
+
* @param {!proto.wechaty.puppet.TagContactTagListRequest} msg The message object to deserialize into.
|
|
777
3464
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
778
|
-
* @return {!proto.wechaty.puppet.
|
|
3465
|
+
* @return {!proto.wechaty.puppet.TagContactTagListRequest}
|
|
779
3466
|
*/
|
|
780
|
-
proto.wechaty.puppet.
|
|
3467
|
+
proto.wechaty.puppet.TagContactTagListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
781
3468
|
while (reader.nextField()) {
|
|
782
3469
|
if (reader.isEndGroup()) {
|
|
783
3470
|
break;
|
|
@@ -786,7 +3473,7 @@ proto.wechaty.puppet.TagContactDeleteRequest.deserializeBinaryFromReader = funct
|
|
|
786
3473
|
switch (field) {
|
|
787
3474
|
case 1:
|
|
788
3475
|
var value = /** @type {string} */ (reader.readString());
|
|
789
|
-
msg.
|
|
3476
|
+
msg.setContactId(value);
|
|
790
3477
|
break;
|
|
791
3478
|
default:
|
|
792
3479
|
reader.skipField();
|
|
@@ -801,9 +3488,9 @@ proto.wechaty.puppet.TagContactDeleteRequest.deserializeBinaryFromReader = funct
|
|
|
801
3488
|
* Serializes the message to binary data (in protobuf wire format).
|
|
802
3489
|
* @return {!Uint8Array}
|
|
803
3490
|
*/
|
|
804
|
-
proto.wechaty.puppet.
|
|
3491
|
+
proto.wechaty.puppet.TagContactTagListRequest.prototype.serializeBinary = function() {
|
|
805
3492
|
var writer = new jspb.BinaryWriter();
|
|
806
|
-
proto.wechaty.puppet.
|
|
3493
|
+
proto.wechaty.puppet.TagContactTagListRequest.serializeBinaryToWriter(this, writer);
|
|
807
3494
|
return writer.getResultBuffer();
|
|
808
3495
|
};
|
|
809
3496
|
|
|
@@ -811,13 +3498,13 @@ proto.wechaty.puppet.TagContactDeleteRequest.prototype.serializeBinary = functio
|
|
|
811
3498
|
/**
|
|
812
3499
|
* Serializes the given message to binary data (in protobuf wire
|
|
813
3500
|
* format), writing to the given BinaryWriter.
|
|
814
|
-
* @param {!proto.wechaty.puppet.
|
|
3501
|
+
* @param {!proto.wechaty.puppet.TagContactTagListRequest} message
|
|
815
3502
|
* @param {!jspb.BinaryWriter} writer
|
|
816
3503
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
817
3504
|
*/
|
|
818
|
-
proto.wechaty.puppet.
|
|
3505
|
+
proto.wechaty.puppet.TagContactTagListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
819
3506
|
var f = undefined;
|
|
820
|
-
f = message.
|
|
3507
|
+
f = message.getContactId();
|
|
821
3508
|
if (f.length > 0) {
|
|
822
3509
|
writer.writeString(
|
|
823
3510
|
1,
|
|
@@ -828,24 +3515,31 @@ proto.wechaty.puppet.TagContactDeleteRequest.serializeBinaryToWriter = function(
|
|
|
828
3515
|
|
|
829
3516
|
|
|
830
3517
|
/**
|
|
831
|
-
* optional string
|
|
3518
|
+
* optional string contact_id = 1;
|
|
832
3519
|
* @return {string}
|
|
833
3520
|
*/
|
|
834
|
-
proto.wechaty.puppet.
|
|
3521
|
+
proto.wechaty.puppet.TagContactTagListRequest.prototype.getContactId = function() {
|
|
835
3522
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
836
3523
|
};
|
|
837
3524
|
|
|
838
3525
|
|
|
839
3526
|
/**
|
|
840
3527
|
* @param {string} value
|
|
841
|
-
* @return {!proto.wechaty.puppet.
|
|
3528
|
+
* @return {!proto.wechaty.puppet.TagContactTagListRequest} returns this
|
|
842
3529
|
*/
|
|
843
|
-
proto.wechaty.puppet.
|
|
3530
|
+
proto.wechaty.puppet.TagContactTagListRequest.prototype.setContactId = function(value) {
|
|
844
3531
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
845
3532
|
};
|
|
846
3533
|
|
|
847
3534
|
|
|
848
3535
|
|
|
3536
|
+
/**
|
|
3537
|
+
* List of repeated fields within this message type.
|
|
3538
|
+
* @private {!Array<number>}
|
|
3539
|
+
* @const
|
|
3540
|
+
*/
|
|
3541
|
+
proto.wechaty.puppet.TagContactTagListResponse.repeatedFields_ = [1];
|
|
3542
|
+
|
|
849
3543
|
|
|
850
3544
|
|
|
851
3545
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -861,8 +3555,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
861
3555
|
* http://goto/soy-param-migration
|
|
862
3556
|
* @return {!Object}
|
|
863
3557
|
*/
|
|
864
|
-
proto.wechaty.puppet.
|
|
865
|
-
return proto.wechaty.puppet.
|
|
3558
|
+
proto.wechaty.puppet.TagContactTagListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3559
|
+
return proto.wechaty.puppet.TagContactTagListResponse.toObject(opt_includeInstance, this);
|
|
866
3560
|
};
|
|
867
3561
|
|
|
868
3562
|
|
|
@@ -871,13 +3565,14 @@ proto.wechaty.puppet.TagContactDeleteResponse.prototype.toObject = function(opt_
|
|
|
871
3565
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
872
3566
|
* the JSPB instance for transitional soy proto support:
|
|
873
3567
|
* http://goto/soy-param-migration
|
|
874
|
-
* @param {!proto.wechaty.puppet.
|
|
3568
|
+
* @param {!proto.wechaty.puppet.TagContactTagListResponse} msg The msg instance to transform.
|
|
875
3569
|
* @return {!Object}
|
|
876
3570
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
877
3571
|
*/
|
|
878
|
-
proto.wechaty.puppet.
|
|
3572
|
+
proto.wechaty.puppet.TagContactTagListResponse.toObject = function(includeInstance, msg) {
|
|
879
3573
|
var f, obj = {
|
|
880
|
-
|
|
3574
|
+
payloadsList: jspb.Message.toObjectList(msg.getPayloadsList(),
|
|
3575
|
+
proto.wechaty.puppet.TagPayload.toObject, includeInstance)
|
|
881
3576
|
};
|
|
882
3577
|
|
|
883
3578
|
if (includeInstance) {
|
|
@@ -891,29 +3586,34 @@ proto.wechaty.puppet.TagContactDeleteResponse.toObject = function(includeInstanc
|
|
|
891
3586
|
/**
|
|
892
3587
|
* Deserializes binary data (in protobuf wire format).
|
|
893
3588
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
894
|
-
* @return {!proto.wechaty.puppet.
|
|
3589
|
+
* @return {!proto.wechaty.puppet.TagContactTagListResponse}
|
|
895
3590
|
*/
|
|
896
|
-
proto.wechaty.puppet.
|
|
3591
|
+
proto.wechaty.puppet.TagContactTagListResponse.deserializeBinary = function(bytes) {
|
|
897
3592
|
var reader = new jspb.BinaryReader(bytes);
|
|
898
|
-
var msg = new proto.wechaty.puppet.
|
|
899
|
-
return proto.wechaty.puppet.
|
|
3593
|
+
var msg = new proto.wechaty.puppet.TagContactTagListResponse;
|
|
3594
|
+
return proto.wechaty.puppet.TagContactTagListResponse.deserializeBinaryFromReader(msg, reader);
|
|
900
3595
|
};
|
|
901
3596
|
|
|
902
3597
|
|
|
903
3598
|
/**
|
|
904
3599
|
* Deserializes binary data (in protobuf wire format) from the
|
|
905
3600
|
* given reader into the given message object.
|
|
906
|
-
* @param {!proto.wechaty.puppet.
|
|
3601
|
+
* @param {!proto.wechaty.puppet.TagContactTagListResponse} msg The message object to deserialize into.
|
|
907
3602
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
908
|
-
* @return {!proto.wechaty.puppet.
|
|
3603
|
+
* @return {!proto.wechaty.puppet.TagContactTagListResponse}
|
|
909
3604
|
*/
|
|
910
|
-
proto.wechaty.puppet.
|
|
3605
|
+
proto.wechaty.puppet.TagContactTagListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
911
3606
|
while (reader.nextField()) {
|
|
912
3607
|
if (reader.isEndGroup()) {
|
|
913
3608
|
break;
|
|
914
3609
|
}
|
|
915
3610
|
var field = reader.getFieldNumber();
|
|
916
3611
|
switch (field) {
|
|
3612
|
+
case 1:
|
|
3613
|
+
var value = new proto.wechaty.puppet.TagPayload;
|
|
3614
|
+
reader.readMessage(value,proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader);
|
|
3615
|
+
msg.addPayloads(value);
|
|
3616
|
+
break;
|
|
917
3617
|
default:
|
|
918
3618
|
reader.skipField();
|
|
919
3619
|
break;
|
|
@@ -927,9 +3627,9 @@ proto.wechaty.puppet.TagContactDeleteResponse.deserializeBinaryFromReader = func
|
|
|
927
3627
|
* Serializes the message to binary data (in protobuf wire format).
|
|
928
3628
|
* @return {!Uint8Array}
|
|
929
3629
|
*/
|
|
930
|
-
proto.wechaty.puppet.
|
|
3630
|
+
proto.wechaty.puppet.TagContactTagListResponse.prototype.serializeBinary = function() {
|
|
931
3631
|
var writer = new jspb.BinaryWriter();
|
|
932
|
-
proto.wechaty.puppet.
|
|
3632
|
+
proto.wechaty.puppet.TagContactTagListResponse.serializeBinaryToWriter(this, writer);
|
|
933
3633
|
return writer.getResultBuffer();
|
|
934
3634
|
};
|
|
935
3635
|
|
|
@@ -937,12 +3637,58 @@ proto.wechaty.puppet.TagContactDeleteResponse.prototype.serializeBinary = functi
|
|
|
937
3637
|
/**
|
|
938
3638
|
* Serializes the given message to binary data (in protobuf wire
|
|
939
3639
|
* format), writing to the given BinaryWriter.
|
|
940
|
-
* @param {!proto.wechaty.puppet.
|
|
3640
|
+
* @param {!proto.wechaty.puppet.TagContactTagListResponse} message
|
|
941
3641
|
* @param {!jspb.BinaryWriter} writer
|
|
942
3642
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
943
3643
|
*/
|
|
944
|
-
proto.wechaty.puppet.
|
|
3644
|
+
proto.wechaty.puppet.TagContactTagListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
945
3645
|
var f = undefined;
|
|
3646
|
+
f = message.getPayloadsList();
|
|
3647
|
+
if (f.length > 0) {
|
|
3648
|
+
writer.writeRepeatedMessage(
|
|
3649
|
+
1,
|
|
3650
|
+
f,
|
|
3651
|
+
proto.wechaty.puppet.TagPayload.serializeBinaryToWriter
|
|
3652
|
+
);
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
|
|
3656
|
+
|
|
3657
|
+
/**
|
|
3658
|
+
* repeated TagPayload payloads = 1;
|
|
3659
|
+
* @return {!Array<!proto.wechaty.puppet.TagPayload>}
|
|
3660
|
+
*/
|
|
3661
|
+
proto.wechaty.puppet.TagContactTagListResponse.prototype.getPayloadsList = function() {
|
|
3662
|
+
return /** @type{!Array<!proto.wechaty.puppet.TagPayload>} */ (
|
|
3663
|
+
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagPayload, 1));
|
|
3664
|
+
};
|
|
3665
|
+
|
|
3666
|
+
|
|
3667
|
+
/**
|
|
3668
|
+
* @param {!Array<!proto.wechaty.puppet.TagPayload>} value
|
|
3669
|
+
* @return {!proto.wechaty.puppet.TagContactTagListResponse} returns this
|
|
3670
|
+
*/
|
|
3671
|
+
proto.wechaty.puppet.TagContactTagListResponse.prototype.setPayloadsList = function(value) {
|
|
3672
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3673
|
+
};
|
|
3674
|
+
|
|
3675
|
+
|
|
3676
|
+
/**
|
|
3677
|
+
* @param {!proto.wechaty.puppet.TagPayload=} opt_value
|
|
3678
|
+
* @param {number=} opt_index
|
|
3679
|
+
* @return {!proto.wechaty.puppet.TagPayload}
|
|
3680
|
+
*/
|
|
3681
|
+
proto.wechaty.puppet.TagContactTagListResponse.prototype.addPayloads = function(opt_value, opt_index) {
|
|
3682
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagPayload, opt_index);
|
|
3683
|
+
};
|
|
3684
|
+
|
|
3685
|
+
|
|
3686
|
+
/**
|
|
3687
|
+
* Clears the list making it empty but non-null.
|
|
3688
|
+
* @return {!proto.wechaty.puppet.TagContactTagListResponse} returns this
|
|
3689
|
+
*/
|
|
3690
|
+
proto.wechaty.puppet.TagContactTagListResponse.prototype.clearPayloadsList = function() {
|
|
3691
|
+
return this.setPayloadsList([]);
|
|
946
3692
|
};
|
|
947
3693
|
|
|
948
3694
|
|
|
@@ -962,8 +3708,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
962
3708
|
* http://goto/soy-param-migration
|
|
963
3709
|
* @return {!Object}
|
|
964
3710
|
*/
|
|
965
|
-
proto.wechaty.puppet.
|
|
966
|
-
return proto.wechaty.puppet.
|
|
3711
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3712
|
+
return proto.wechaty.puppet.TagTagContactListRequest.toObject(opt_includeInstance, this);
|
|
967
3713
|
};
|
|
968
3714
|
|
|
969
3715
|
|
|
@@ -972,14 +3718,14 @@ proto.wechaty.puppet.TagContactListRequest.prototype.toObject = function(opt_inc
|
|
|
972
3718
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
973
3719
|
* the JSPB instance for transitional soy proto support:
|
|
974
3720
|
* http://goto/soy-param-migration
|
|
975
|
-
* @param {!proto.wechaty.puppet.
|
|
3721
|
+
* @param {!proto.wechaty.puppet.TagTagContactListRequest} msg The msg instance to transform.
|
|
976
3722
|
* @return {!Object}
|
|
977
3723
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
978
3724
|
*/
|
|
979
|
-
proto.wechaty.puppet.
|
|
3725
|
+
proto.wechaty.puppet.TagTagContactListRequest.toObject = function(includeInstance, msg) {
|
|
980
3726
|
var f, obj = {
|
|
981
|
-
|
|
982
|
-
|
|
3727
|
+
tagGroupId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3728
|
+
tagId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
983
3729
|
};
|
|
984
3730
|
|
|
985
3731
|
if (includeInstance) {
|
|
@@ -993,23 +3739,23 @@ proto.wechaty.puppet.TagContactListRequest.toObject = function(includeInstance,
|
|
|
993
3739
|
/**
|
|
994
3740
|
* Deserializes binary data (in protobuf wire format).
|
|
995
3741
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
996
|
-
* @return {!proto.wechaty.puppet.
|
|
3742
|
+
* @return {!proto.wechaty.puppet.TagTagContactListRequest}
|
|
997
3743
|
*/
|
|
998
|
-
proto.wechaty.puppet.
|
|
3744
|
+
proto.wechaty.puppet.TagTagContactListRequest.deserializeBinary = function(bytes) {
|
|
999
3745
|
var reader = new jspb.BinaryReader(bytes);
|
|
1000
|
-
var msg = new proto.wechaty.puppet.
|
|
1001
|
-
return proto.wechaty.puppet.
|
|
3746
|
+
var msg = new proto.wechaty.puppet.TagTagContactListRequest;
|
|
3747
|
+
return proto.wechaty.puppet.TagTagContactListRequest.deserializeBinaryFromReader(msg, reader);
|
|
1002
3748
|
};
|
|
1003
3749
|
|
|
1004
3750
|
|
|
1005
3751
|
/**
|
|
1006
3752
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1007
3753
|
* given reader into the given message object.
|
|
1008
|
-
* @param {!proto.wechaty.puppet.
|
|
3754
|
+
* @param {!proto.wechaty.puppet.TagTagContactListRequest} msg The message object to deserialize into.
|
|
1009
3755
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1010
|
-
* @return {!proto.wechaty.puppet.
|
|
3756
|
+
* @return {!proto.wechaty.puppet.TagTagContactListRequest}
|
|
1011
3757
|
*/
|
|
1012
|
-
proto.wechaty.puppet.
|
|
3758
|
+
proto.wechaty.puppet.TagTagContactListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1013
3759
|
while (reader.nextField()) {
|
|
1014
3760
|
if (reader.isEndGroup()) {
|
|
1015
3761
|
break;
|
|
@@ -1017,13 +3763,12 @@ proto.wechaty.puppet.TagContactListRequest.deserializeBinaryFromReader = functio
|
|
|
1017
3763
|
var field = reader.getFieldNumber();
|
|
1018
3764
|
switch (field) {
|
|
1019
3765
|
case 1:
|
|
1020
|
-
var value =
|
|
1021
|
-
|
|
1022
|
-
msg.setContactIdStringValueDeprecated(value);
|
|
3766
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3767
|
+
msg.setTagGroupId(value);
|
|
1023
3768
|
break;
|
|
1024
3769
|
case 2:
|
|
1025
3770
|
var value = /** @type {string} */ (reader.readString());
|
|
1026
|
-
msg.
|
|
3771
|
+
msg.setTagId(value);
|
|
1027
3772
|
break;
|
|
1028
3773
|
default:
|
|
1029
3774
|
reader.skipField();
|
|
@@ -1038,9 +3783,9 @@ proto.wechaty.puppet.TagContactListRequest.deserializeBinaryFromReader = functio
|
|
|
1038
3783
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1039
3784
|
* @return {!Uint8Array}
|
|
1040
3785
|
*/
|
|
1041
|
-
proto.wechaty.puppet.
|
|
3786
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.serializeBinary = function() {
|
|
1042
3787
|
var writer = new jspb.BinaryWriter();
|
|
1043
|
-
proto.wechaty.puppet.
|
|
3788
|
+
proto.wechaty.puppet.TagTagContactListRequest.serializeBinaryToWriter(this, writer);
|
|
1044
3789
|
return writer.getResultBuffer();
|
|
1045
3790
|
};
|
|
1046
3791
|
|
|
@@ -1048,21 +3793,20 @@ proto.wechaty.puppet.TagContactListRequest.prototype.serializeBinary = function(
|
|
|
1048
3793
|
/**
|
|
1049
3794
|
* Serializes the given message to binary data (in protobuf wire
|
|
1050
3795
|
* format), writing to the given BinaryWriter.
|
|
1051
|
-
* @param {!proto.wechaty.puppet.
|
|
3796
|
+
* @param {!proto.wechaty.puppet.TagTagContactListRequest} message
|
|
1052
3797
|
* @param {!jspb.BinaryWriter} writer
|
|
1053
3798
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1054
3799
|
*/
|
|
1055
|
-
proto.wechaty.puppet.
|
|
3800
|
+
proto.wechaty.puppet.TagTagContactListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1056
3801
|
var f = undefined;
|
|
1057
|
-
f = message.
|
|
1058
|
-
if (f
|
|
1059
|
-
writer.
|
|
3802
|
+
f = message.getTagGroupId();
|
|
3803
|
+
if (f.length > 0) {
|
|
3804
|
+
writer.writeString(
|
|
1060
3805
|
1,
|
|
1061
|
-
f
|
|
1062
|
-
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3806
|
+
f
|
|
1063
3807
|
);
|
|
1064
3808
|
}
|
|
1065
|
-
f = message.
|
|
3809
|
+
f = message.getTagId();
|
|
1066
3810
|
if (f.length > 0) {
|
|
1067
3811
|
writer.writeString(
|
|
1068
3812
|
2,
|
|
@@ -1073,56 +3817,37 @@ proto.wechaty.puppet.TagContactListRequest.serializeBinaryToWriter = function(me
|
|
|
1073
3817
|
|
|
1074
3818
|
|
|
1075
3819
|
/**
|
|
1076
|
-
* optional
|
|
1077
|
-
* @return {
|
|
1078
|
-
*/
|
|
1079
|
-
proto.wechaty.puppet.TagContactListRequest.prototype.getContactIdStringValueDeprecated = function() {
|
|
1080
|
-
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1081
|
-
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
|
|
1082
|
-
};
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
/**
|
|
1086
|
-
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1087
|
-
* @return {!proto.wechaty.puppet.TagContactListRequest} returns this
|
|
1088
|
-
*/
|
|
1089
|
-
proto.wechaty.puppet.TagContactListRequest.prototype.setContactIdStringValueDeprecated = function(value) {
|
|
1090
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
1091
|
-
};
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
/**
|
|
1095
|
-
* Clears the message field making it undefined.
|
|
1096
|
-
* @return {!proto.wechaty.puppet.TagContactListRequest} returns this
|
|
3820
|
+
* optional string tag_group_id = 1;
|
|
3821
|
+
* @return {string}
|
|
1097
3822
|
*/
|
|
1098
|
-
proto.wechaty.puppet.
|
|
1099
|
-
return
|
|
3823
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.getTagGroupId = function() {
|
|
3824
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1100
3825
|
};
|
|
1101
3826
|
|
|
1102
3827
|
|
|
1103
3828
|
/**
|
|
1104
|
-
*
|
|
1105
|
-
* @return {
|
|
3829
|
+
* @param {string} value
|
|
3830
|
+
* @return {!proto.wechaty.puppet.TagTagContactListRequest} returns this
|
|
1106
3831
|
*/
|
|
1107
|
-
proto.wechaty.puppet.
|
|
1108
|
-
return jspb.Message.
|
|
3832
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.setTagGroupId = function(value) {
|
|
3833
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1109
3834
|
};
|
|
1110
3835
|
|
|
1111
3836
|
|
|
1112
3837
|
/**
|
|
1113
|
-
* optional string
|
|
3838
|
+
* optional string tag_id = 2;
|
|
1114
3839
|
* @return {string}
|
|
1115
3840
|
*/
|
|
1116
|
-
proto.wechaty.puppet.
|
|
3841
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.getTagId = function() {
|
|
1117
3842
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1118
3843
|
};
|
|
1119
3844
|
|
|
1120
3845
|
|
|
1121
3846
|
/**
|
|
1122
3847
|
* @param {string} value
|
|
1123
|
-
* @return {!proto.wechaty.puppet.
|
|
3848
|
+
* @return {!proto.wechaty.puppet.TagTagContactListRequest} returns this
|
|
1124
3849
|
*/
|
|
1125
|
-
proto.wechaty.puppet.
|
|
3850
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.setTagId = function(value) {
|
|
1126
3851
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1127
3852
|
};
|
|
1128
3853
|
|
|
@@ -1133,7 +3858,7 @@ proto.wechaty.puppet.TagContactListRequest.prototype.setContactId = function(val
|
|
|
1133
3858
|
* @private {!Array<number>}
|
|
1134
3859
|
* @const
|
|
1135
3860
|
*/
|
|
1136
|
-
proto.wechaty.puppet.
|
|
3861
|
+
proto.wechaty.puppet.TagTagContactListResponse.repeatedFields_ = [1];
|
|
1137
3862
|
|
|
1138
3863
|
|
|
1139
3864
|
|
|
@@ -1150,8 +3875,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1150
3875
|
* http://goto/soy-param-migration
|
|
1151
3876
|
* @return {!Object}
|
|
1152
3877
|
*/
|
|
1153
|
-
proto.wechaty.puppet.
|
|
1154
|
-
return proto.wechaty.puppet.
|
|
3878
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3879
|
+
return proto.wechaty.puppet.TagTagContactListResponse.toObject(opt_includeInstance, this);
|
|
1155
3880
|
};
|
|
1156
3881
|
|
|
1157
3882
|
|
|
@@ -1160,13 +3885,13 @@ proto.wechaty.puppet.TagContactListResponse.prototype.toObject = function(opt_in
|
|
|
1160
3885
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1161
3886
|
* the JSPB instance for transitional soy proto support:
|
|
1162
3887
|
* http://goto/soy-param-migration
|
|
1163
|
-
* @param {!proto.wechaty.puppet.
|
|
3888
|
+
* @param {!proto.wechaty.puppet.TagTagContactListResponse} msg The msg instance to transform.
|
|
1164
3889
|
* @return {!Object}
|
|
1165
3890
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1166
3891
|
*/
|
|
1167
|
-
proto.wechaty.puppet.
|
|
3892
|
+
proto.wechaty.puppet.TagTagContactListResponse.toObject = function(includeInstance, msg) {
|
|
1168
3893
|
var f, obj = {
|
|
1169
|
-
|
|
3894
|
+
payloadsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
1170
3895
|
};
|
|
1171
3896
|
|
|
1172
3897
|
if (includeInstance) {
|
|
@@ -1180,23 +3905,23 @@ proto.wechaty.puppet.TagContactListResponse.toObject = function(includeInstance,
|
|
|
1180
3905
|
/**
|
|
1181
3906
|
* Deserializes binary data (in protobuf wire format).
|
|
1182
3907
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1183
|
-
* @return {!proto.wechaty.puppet.
|
|
3908
|
+
* @return {!proto.wechaty.puppet.TagTagContactListResponse}
|
|
1184
3909
|
*/
|
|
1185
|
-
proto.wechaty.puppet.
|
|
3910
|
+
proto.wechaty.puppet.TagTagContactListResponse.deserializeBinary = function(bytes) {
|
|
1186
3911
|
var reader = new jspb.BinaryReader(bytes);
|
|
1187
|
-
var msg = new proto.wechaty.puppet.
|
|
1188
|
-
return proto.wechaty.puppet.
|
|
3912
|
+
var msg = new proto.wechaty.puppet.TagTagContactListResponse;
|
|
3913
|
+
return proto.wechaty.puppet.TagTagContactListResponse.deserializeBinaryFromReader(msg, reader);
|
|
1189
3914
|
};
|
|
1190
3915
|
|
|
1191
3916
|
|
|
1192
3917
|
/**
|
|
1193
3918
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1194
3919
|
* given reader into the given message object.
|
|
1195
|
-
* @param {!proto.wechaty.puppet.
|
|
3920
|
+
* @param {!proto.wechaty.puppet.TagTagContactListResponse} msg The message object to deserialize into.
|
|
1196
3921
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1197
|
-
* @return {!proto.wechaty.puppet.
|
|
3922
|
+
* @return {!proto.wechaty.puppet.TagTagContactListResponse}
|
|
1198
3923
|
*/
|
|
1199
|
-
proto.wechaty.puppet.
|
|
3924
|
+
proto.wechaty.puppet.TagTagContactListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1200
3925
|
while (reader.nextField()) {
|
|
1201
3926
|
if (reader.isEndGroup()) {
|
|
1202
3927
|
break;
|
|
@@ -1205,7 +3930,7 @@ proto.wechaty.puppet.TagContactListResponse.deserializeBinaryFromReader = functi
|
|
|
1205
3930
|
switch (field) {
|
|
1206
3931
|
case 1:
|
|
1207
3932
|
var value = /** @type {string} */ (reader.readString());
|
|
1208
|
-
msg.
|
|
3933
|
+
msg.addPayloads(value);
|
|
1209
3934
|
break;
|
|
1210
3935
|
default:
|
|
1211
3936
|
reader.skipField();
|
|
@@ -1220,9 +3945,9 @@ proto.wechaty.puppet.TagContactListResponse.deserializeBinaryFromReader = functi
|
|
|
1220
3945
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1221
3946
|
* @return {!Uint8Array}
|
|
1222
3947
|
*/
|
|
1223
|
-
proto.wechaty.puppet.
|
|
3948
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.serializeBinary = function() {
|
|
1224
3949
|
var writer = new jspb.BinaryWriter();
|
|
1225
|
-
proto.wechaty.puppet.
|
|
3950
|
+
proto.wechaty.puppet.TagTagContactListResponse.serializeBinaryToWriter(this, writer);
|
|
1226
3951
|
return writer.getResultBuffer();
|
|
1227
3952
|
};
|
|
1228
3953
|
|
|
@@ -1230,13 +3955,13 @@ proto.wechaty.puppet.TagContactListResponse.prototype.serializeBinary = function
|
|
|
1230
3955
|
/**
|
|
1231
3956
|
* Serializes the given message to binary data (in protobuf wire
|
|
1232
3957
|
* format), writing to the given BinaryWriter.
|
|
1233
|
-
* @param {!proto.wechaty.puppet.
|
|
3958
|
+
* @param {!proto.wechaty.puppet.TagTagContactListResponse} message
|
|
1234
3959
|
* @param {!jspb.BinaryWriter} writer
|
|
1235
3960
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1236
3961
|
*/
|
|
1237
|
-
proto.wechaty.puppet.
|
|
3962
|
+
proto.wechaty.puppet.TagTagContactListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1238
3963
|
var f = undefined;
|
|
1239
|
-
f = message.
|
|
3964
|
+
f = message.getPayloadsList();
|
|
1240
3965
|
if (f.length > 0) {
|
|
1241
3966
|
writer.writeRepeatedString(
|
|
1242
3967
|
1,
|
|
@@ -1247,19 +3972,19 @@ proto.wechaty.puppet.TagContactListResponse.serializeBinaryToWriter = function(m
|
|
|
1247
3972
|
|
|
1248
3973
|
|
|
1249
3974
|
/**
|
|
1250
|
-
* repeated string
|
|
3975
|
+
* repeated string payloads = 1;
|
|
1251
3976
|
* @return {!Array<string>}
|
|
1252
3977
|
*/
|
|
1253
|
-
proto.wechaty.puppet.
|
|
3978
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.getPayloadsList = function() {
|
|
1254
3979
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
1255
3980
|
};
|
|
1256
3981
|
|
|
1257
3982
|
|
|
1258
3983
|
/**
|
|
1259
3984
|
* @param {!Array<string>} value
|
|
1260
|
-
* @return {!proto.wechaty.puppet.
|
|
3985
|
+
* @return {!proto.wechaty.puppet.TagTagContactListResponse} returns this
|
|
1261
3986
|
*/
|
|
1262
|
-
proto.wechaty.puppet.
|
|
3987
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.setPayloadsList = function(value) {
|
|
1263
3988
|
return jspb.Message.setField(this, 1, value || []);
|
|
1264
3989
|
};
|
|
1265
3990
|
|
|
@@ -1267,20 +3992,28 @@ proto.wechaty.puppet.TagContactListResponse.prototype.setIdsList = function(valu
|
|
|
1267
3992
|
/**
|
|
1268
3993
|
* @param {string} value
|
|
1269
3994
|
* @param {number=} opt_index
|
|
1270
|
-
* @return {!proto.wechaty.puppet.
|
|
3995
|
+
* @return {!proto.wechaty.puppet.TagTagContactListResponse} returns this
|
|
1271
3996
|
*/
|
|
1272
|
-
proto.wechaty.puppet.
|
|
3997
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.addPayloads = function(value, opt_index) {
|
|
1273
3998
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
1274
3999
|
};
|
|
1275
4000
|
|
|
1276
4001
|
|
|
1277
4002
|
/**
|
|
1278
4003
|
* Clears the list making it empty but non-null.
|
|
1279
|
-
* @return {!proto.wechaty.puppet.
|
|
4004
|
+
* @return {!proto.wechaty.puppet.TagTagContactListResponse} returns this
|
|
1280
4005
|
*/
|
|
1281
|
-
proto.wechaty.puppet.
|
|
1282
|
-
return this.
|
|
4006
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.clearPayloadsList = function() {
|
|
4007
|
+
return this.setPayloadsList([]);
|
|
1283
4008
|
};
|
|
1284
4009
|
|
|
1285
4010
|
|
|
4011
|
+
/**
|
|
4012
|
+
* @enum {number}
|
|
4013
|
+
*/
|
|
4014
|
+
proto.wechaty.puppet.TagType = {
|
|
4015
|
+
PERSONAL: 0,
|
|
4016
|
+
CORPORATION: 1
|
|
4017
|
+
};
|
|
4018
|
+
|
|
1286
4019
|
goog.object.extend(exports, proto.wechaty.puppet);
|