@juzi/wechaty-grpc 1.0.78 → 1.0.79

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.
@@ -41,6 +41,7 @@ goog.exportSymbol('proto.wechaty.puppet.TagTagContactListRequest', null, global)
41
41
  goog.exportSymbol('proto.wechaty.puppet.TagTagContactListResponse', null, global);
42
42
  goog.exportSymbol('proto.wechaty.puppet.TagTagDeleteRequest', null, global);
43
43
  goog.exportSymbol('proto.wechaty.puppet.TagTagDeleteResponse', null, global);
44
+ goog.exportSymbol('proto.wechaty.puppet.TagTagInfo', null, global);
44
45
  goog.exportSymbol('proto.wechaty.puppet.TagTagListRequest', null, global);
45
46
  goog.exportSymbol('proto.wechaty.puppet.TagTagListResponse', null, global);
46
47
  goog.exportSymbol('proto.wechaty.puppet.TagTagModifyRequest', null, global);
@@ -266,9 +267,30 @@ if (goog.DEBUG && !COMPILED) {
266
267
  * @extends {jspb.Message}
267
268
  * @constructor
268
269
  */
269
- proto.wechaty.puppet.TagTagAddRequest = function(opt_data) {
270
+ proto.wechaty.puppet.TagTagInfo = function(opt_data) {
270
271
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
271
272
  };
273
+ goog.inherits(proto.wechaty.puppet.TagTagInfo, jspb.Message);
274
+ if (goog.DEBUG && !COMPILED) {
275
+ /**
276
+ * @public
277
+ * @override
278
+ */
279
+ proto.wechaty.puppet.TagTagInfo.displayName = 'proto.wechaty.puppet.TagTagInfo';
280
+ }
281
+ /**
282
+ * Generated by JsPbCodeGenerator.
283
+ * @param {Array=} opt_data Optional initial data array, typically from a
284
+ * server response, or constructed directly in Javascript. The array is used
285
+ * in place and becomes part of the constructed object. It is not cloned.
286
+ * If no data is provided, the constructed object will be empty, but still
287
+ * valid.
288
+ * @extends {jspb.Message}
289
+ * @constructor
290
+ */
291
+ proto.wechaty.puppet.TagTagAddRequest = function(opt_data) {
292
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagTagAddRequest.repeatedFields_, null);
293
+ };
272
294
  goog.inherits(proto.wechaty.puppet.TagTagAddRequest, jspb.Message);
273
295
  if (goog.DEBUG && !COMPILED) {
274
296
  /**
@@ -288,7 +310,7 @@ if (goog.DEBUG && !COMPILED) {
288
310
  * @constructor
289
311
  */
290
312
  proto.wechaty.puppet.TagTagAddResponse = function(opt_data) {
291
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
313
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagTagAddResponse.repeatedFields_, null);
292
314
  };
293
315
  goog.inherits(proto.wechaty.puppet.TagTagAddResponse, jspb.Message);
294
316
  if (goog.DEBUG && !COMPILED) {
@@ -309,7 +331,7 @@ if (goog.DEBUG && !COMPILED) {
309
331
  * @constructor
310
332
  */
311
333
  proto.wechaty.puppet.TagTagDeleteRequest = function(opt_data) {
312
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
334
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagTagDeleteRequest.repeatedFields_, null);
313
335
  };
314
336
  goog.inherits(proto.wechaty.puppet.TagTagDeleteRequest, jspb.Message);
315
337
  if (goog.DEBUG && !COMPILED) {
@@ -351,7 +373,7 @@ if (goog.DEBUG && !COMPILED) {
351
373
  * @constructor
352
374
  */
353
375
  proto.wechaty.puppet.TagTagModifyRequest = function(opt_data) {
354
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
376
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagTagModifyRequest.repeatedFields_, null);
355
377
  };
356
378
  goog.inherits(proto.wechaty.puppet.TagTagModifyRequest, jspb.Message);
357
379
  if (goog.DEBUG && !COMPILED) {
@@ -372,7 +394,7 @@ if (goog.DEBUG && !COMPILED) {
372
394
  * @constructor
373
395
  */
374
396
  proto.wechaty.puppet.TagTagModifyResponse = function(opt_data) {
375
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
397
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagTagModifyResponse.repeatedFields_, null);
376
398
  };
377
399
  goog.inherits(proto.wechaty.puppet.TagTagModifyResponse, jspb.Message);
378
400
  if (goog.DEBUG && !COMPILED) {
@@ -2192,6 +2214,173 @@ proto.wechaty.puppet.TagGroupDeleteResponse.serializeBinaryToWriter = function(m
2192
2214
 
2193
2215
 
2194
2216
 
2217
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2218
+ /**
2219
+ * Creates an object representation of this proto.
2220
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2221
+ * Optional fields that are not set will be set to undefined.
2222
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2223
+ * For the list of reserved names please see:
2224
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2225
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2226
+ * JSPB instance for transitional soy proto support:
2227
+ * http://goto/soy-param-migration
2228
+ * @return {!Object}
2229
+ */
2230
+ proto.wechaty.puppet.TagTagInfo.prototype.toObject = function(opt_includeInstance) {
2231
+ return proto.wechaty.puppet.TagTagInfo.toObject(opt_includeInstance, this);
2232
+ };
2233
+
2234
+
2235
+ /**
2236
+ * Static version of the {@see toObject} method.
2237
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2238
+ * the JSPB instance for transitional soy proto support:
2239
+ * http://goto/soy-param-migration
2240
+ * @param {!proto.wechaty.puppet.TagTagInfo} msg The msg instance to transform.
2241
+ * @return {!Object}
2242
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2243
+ */
2244
+ proto.wechaty.puppet.TagTagInfo.toObject = function(includeInstance, msg) {
2245
+ var f, obj = {
2246
+ tagId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2247
+ tagName: jspb.Message.getFieldWithDefault(msg, 2, "")
2248
+ };
2249
+
2250
+ if (includeInstance) {
2251
+ obj.$jspbMessageInstance = msg;
2252
+ }
2253
+ return obj;
2254
+ };
2255
+ }
2256
+
2257
+
2258
+ /**
2259
+ * Deserializes binary data (in protobuf wire format).
2260
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2261
+ * @return {!proto.wechaty.puppet.TagTagInfo}
2262
+ */
2263
+ proto.wechaty.puppet.TagTagInfo.deserializeBinary = function(bytes) {
2264
+ var reader = new jspb.BinaryReader(bytes);
2265
+ var msg = new proto.wechaty.puppet.TagTagInfo;
2266
+ return proto.wechaty.puppet.TagTagInfo.deserializeBinaryFromReader(msg, reader);
2267
+ };
2268
+
2269
+
2270
+ /**
2271
+ * Deserializes binary data (in protobuf wire format) from the
2272
+ * given reader into the given message object.
2273
+ * @param {!proto.wechaty.puppet.TagTagInfo} msg The message object to deserialize into.
2274
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2275
+ * @return {!proto.wechaty.puppet.TagTagInfo}
2276
+ */
2277
+ proto.wechaty.puppet.TagTagInfo.deserializeBinaryFromReader = function(msg, reader) {
2278
+ while (reader.nextField()) {
2279
+ if (reader.isEndGroup()) {
2280
+ break;
2281
+ }
2282
+ var field = reader.getFieldNumber();
2283
+ switch (field) {
2284
+ case 1:
2285
+ var value = /** @type {string} */ (reader.readString());
2286
+ msg.setTagId(value);
2287
+ break;
2288
+ case 2:
2289
+ var value = /** @type {string} */ (reader.readString());
2290
+ msg.setTagName(value);
2291
+ break;
2292
+ default:
2293
+ reader.skipField();
2294
+ break;
2295
+ }
2296
+ }
2297
+ return msg;
2298
+ };
2299
+
2300
+
2301
+ /**
2302
+ * Serializes the message to binary data (in protobuf wire format).
2303
+ * @return {!Uint8Array}
2304
+ */
2305
+ proto.wechaty.puppet.TagTagInfo.prototype.serializeBinary = function() {
2306
+ var writer = new jspb.BinaryWriter();
2307
+ proto.wechaty.puppet.TagTagInfo.serializeBinaryToWriter(this, writer);
2308
+ return writer.getResultBuffer();
2309
+ };
2310
+
2311
+
2312
+ /**
2313
+ * Serializes the given message to binary data (in protobuf wire
2314
+ * format), writing to the given BinaryWriter.
2315
+ * @param {!proto.wechaty.puppet.TagTagInfo} message
2316
+ * @param {!jspb.BinaryWriter} writer
2317
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2318
+ */
2319
+ proto.wechaty.puppet.TagTagInfo.serializeBinaryToWriter = function(message, writer) {
2320
+ var f = undefined;
2321
+ f = message.getTagId();
2322
+ if (f.length > 0) {
2323
+ writer.writeString(
2324
+ 1,
2325
+ f
2326
+ );
2327
+ }
2328
+ f = message.getTagName();
2329
+ if (f.length > 0) {
2330
+ writer.writeString(
2331
+ 2,
2332
+ f
2333
+ );
2334
+ }
2335
+ };
2336
+
2337
+
2338
+ /**
2339
+ * optional string tag_id = 1;
2340
+ * @return {string}
2341
+ */
2342
+ proto.wechaty.puppet.TagTagInfo.prototype.getTagId = function() {
2343
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2344
+ };
2345
+
2346
+
2347
+ /**
2348
+ * @param {string} value
2349
+ * @return {!proto.wechaty.puppet.TagTagInfo} returns this
2350
+ */
2351
+ proto.wechaty.puppet.TagTagInfo.prototype.setTagId = function(value) {
2352
+ return jspb.Message.setProto3StringField(this, 1, value);
2353
+ };
2354
+
2355
+
2356
+ /**
2357
+ * optional string tag_name = 2;
2358
+ * @return {string}
2359
+ */
2360
+ proto.wechaty.puppet.TagTagInfo.prototype.getTagName = function() {
2361
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2362
+ };
2363
+
2364
+
2365
+ /**
2366
+ * @param {string} value
2367
+ * @return {!proto.wechaty.puppet.TagTagInfo} returns this
2368
+ */
2369
+ proto.wechaty.puppet.TagTagInfo.prototype.setTagName = function(value) {
2370
+ return jspb.Message.setProto3StringField(this, 2, value);
2371
+ };
2372
+
2373
+
2374
+
2375
+ /**
2376
+ * List of repeated fields within this message type.
2377
+ * @private {!Array<number>}
2378
+ * @const
2379
+ */
2380
+ proto.wechaty.puppet.TagTagAddRequest.repeatedFields_ = [3];
2381
+
2382
+
2383
+
2195
2384
  if (jspb.Message.GENERATE_TO_OBJECT) {
2196
2385
  /**
2197
2386
  * Creates an object representation of this proto.
@@ -2221,8 +2410,9 @@ proto.wechaty.puppet.TagTagAddRequest.prototype.toObject = function(opt_includeI
2221
2410
  */
2222
2411
  proto.wechaty.puppet.TagTagAddRequest.toObject = function(includeInstance, msg) {
2223
2412
  var f, obj = {
2224
- tagName: jspb.Message.getFieldWithDefault(msg, 1, ""),
2225
- tagGroupId: jspb.Message.getFieldWithDefault(msg, 2, "")
2413
+ deprecatedTagName: jspb.Message.getFieldWithDefault(msg, 1, ""),
2414
+ tagGroupId: jspb.Message.getFieldWithDefault(msg, 2, ""),
2415
+ tagNameList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
2226
2416
  };
2227
2417
 
2228
2418
  if (includeInstance) {
@@ -2261,12 +2451,16 @@ proto.wechaty.puppet.TagTagAddRequest.deserializeBinaryFromReader = function(msg
2261
2451
  switch (field) {
2262
2452
  case 1:
2263
2453
  var value = /** @type {string} */ (reader.readString());
2264
- msg.setTagName(value);
2454
+ msg.setDeprecatedTagName(value);
2265
2455
  break;
2266
2456
  case 2:
2267
2457
  var value = /** @type {string} */ (reader.readString());
2268
2458
  msg.setTagGroupId(value);
2269
2459
  break;
2460
+ case 3:
2461
+ var value = /** @type {string} */ (reader.readString());
2462
+ msg.addTagName(value);
2463
+ break;
2270
2464
  default:
2271
2465
  reader.skipField();
2272
2466
  break;
@@ -2296,7 +2490,7 @@ proto.wechaty.puppet.TagTagAddRequest.prototype.serializeBinary = function() {
2296
2490
  */
2297
2491
  proto.wechaty.puppet.TagTagAddRequest.serializeBinaryToWriter = function(message, writer) {
2298
2492
  var f = undefined;
2299
- f = message.getTagName();
2493
+ f = message.getDeprecatedTagName();
2300
2494
  if (f.length > 0) {
2301
2495
  writer.writeString(
2302
2496
  1,
@@ -2310,14 +2504,21 @@ proto.wechaty.puppet.TagTagAddRequest.serializeBinaryToWriter = function(message
2310
2504
  f
2311
2505
  );
2312
2506
  }
2507
+ f = message.getTagNameList();
2508
+ if (f.length > 0) {
2509
+ writer.writeRepeatedString(
2510
+ 3,
2511
+ f
2512
+ );
2513
+ }
2313
2514
  };
2314
2515
 
2315
2516
 
2316
2517
  /**
2317
- * optional string tag_name = 1;
2518
+ * optional string deprecated_tag_name = 1;
2318
2519
  * @return {string}
2319
2520
  */
2320
- proto.wechaty.puppet.TagTagAddRequest.prototype.getTagName = function() {
2521
+ proto.wechaty.puppet.TagTagAddRequest.prototype.getDeprecatedTagName = function() {
2321
2522
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2322
2523
  };
2323
2524
 
@@ -2326,7 +2527,7 @@ proto.wechaty.puppet.TagTagAddRequest.prototype.getTagName = function() {
2326
2527
  * @param {string} value
2327
2528
  * @return {!proto.wechaty.puppet.TagTagAddRequest} returns this
2328
2529
  */
2329
- proto.wechaty.puppet.TagTagAddRequest.prototype.setTagName = function(value) {
2530
+ proto.wechaty.puppet.TagTagAddRequest.prototype.setDeprecatedTagName = function(value) {
2330
2531
  return jspb.Message.setProto3StringField(this, 1, value);
2331
2532
  };
2332
2533
 
@@ -2349,6 +2550,50 @@ proto.wechaty.puppet.TagTagAddRequest.prototype.setTagGroupId = function(value)
2349
2550
  };
2350
2551
 
2351
2552
 
2553
+ /**
2554
+ * repeated string tag_name = 3;
2555
+ * @return {!Array<string>}
2556
+ */
2557
+ proto.wechaty.puppet.TagTagAddRequest.prototype.getTagNameList = function() {
2558
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
2559
+ };
2560
+
2561
+
2562
+ /**
2563
+ * @param {!Array<string>} value
2564
+ * @return {!proto.wechaty.puppet.TagTagAddRequest} returns this
2565
+ */
2566
+ proto.wechaty.puppet.TagTagAddRequest.prototype.setTagNameList = function(value) {
2567
+ return jspb.Message.setField(this, 3, value || []);
2568
+ };
2569
+
2570
+
2571
+ /**
2572
+ * @param {string} value
2573
+ * @param {number=} opt_index
2574
+ * @return {!proto.wechaty.puppet.TagTagAddRequest} returns this
2575
+ */
2576
+ proto.wechaty.puppet.TagTagAddRequest.prototype.addTagName = function(value, opt_index) {
2577
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
2578
+ };
2579
+
2580
+
2581
+ /**
2582
+ * Clears the list making it empty but non-null.
2583
+ * @return {!proto.wechaty.puppet.TagTagAddRequest} returns this
2584
+ */
2585
+ proto.wechaty.puppet.TagTagAddRequest.prototype.clearTagNameList = function() {
2586
+ return this.setTagNameList([]);
2587
+ };
2588
+
2589
+
2590
+
2591
+ /**
2592
+ * List of repeated fields within this message type.
2593
+ * @private {!Array<number>}
2594
+ * @const
2595
+ */
2596
+ proto.wechaty.puppet.TagTagAddResponse.repeatedFields_ = [2];
2352
2597
 
2353
2598
 
2354
2599
 
@@ -2381,7 +2626,9 @@ proto.wechaty.puppet.TagTagAddResponse.prototype.toObject = function(opt_include
2381
2626
  */
2382
2627
  proto.wechaty.puppet.TagTagAddResponse.toObject = function(includeInstance, msg) {
2383
2628
  var f, obj = {
2384
- tagId: jspb.Message.getFieldWithDefault(msg, 1, "")
2629
+ deprecatedTagId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2630
+ tagInfoList: jspb.Message.toObjectList(msg.getTagInfoList(),
2631
+ proto.wechaty.puppet.TagTagInfo.toObject, includeInstance)
2385
2632
  };
2386
2633
 
2387
2634
  if (includeInstance) {
@@ -2420,7 +2667,12 @@ proto.wechaty.puppet.TagTagAddResponse.deserializeBinaryFromReader = function(ms
2420
2667
  switch (field) {
2421
2668
  case 1:
2422
2669
  var value = /** @type {string} */ (reader.readString());
2423
- msg.setTagId(value);
2670
+ msg.setDeprecatedTagId(value);
2671
+ break;
2672
+ case 2:
2673
+ var value = new proto.wechaty.puppet.TagTagInfo;
2674
+ reader.readMessage(value,proto.wechaty.puppet.TagTagInfo.deserializeBinaryFromReader);
2675
+ msg.addTagInfo(value);
2424
2676
  break;
2425
2677
  default:
2426
2678
  reader.skipField();
@@ -2451,21 +2703,29 @@ proto.wechaty.puppet.TagTagAddResponse.prototype.serializeBinary = function() {
2451
2703
  */
2452
2704
  proto.wechaty.puppet.TagTagAddResponse.serializeBinaryToWriter = function(message, writer) {
2453
2705
  var f = undefined;
2454
- f = message.getTagId();
2706
+ f = message.getDeprecatedTagId();
2455
2707
  if (f.length > 0) {
2456
2708
  writer.writeString(
2457
2709
  1,
2458
2710
  f
2459
2711
  );
2460
2712
  }
2713
+ f = message.getTagInfoList();
2714
+ if (f.length > 0) {
2715
+ writer.writeRepeatedMessage(
2716
+ 2,
2717
+ f,
2718
+ proto.wechaty.puppet.TagTagInfo.serializeBinaryToWriter
2719
+ );
2720
+ }
2461
2721
  };
2462
2722
 
2463
2723
 
2464
2724
  /**
2465
- * optional string tag_id = 1;
2725
+ * optional string deprecated_tag_id = 1;
2466
2726
  * @return {string}
2467
2727
  */
2468
- proto.wechaty.puppet.TagTagAddResponse.prototype.getTagId = function() {
2728
+ proto.wechaty.puppet.TagTagAddResponse.prototype.getDeprecatedTagId = function() {
2469
2729
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2470
2730
  };
2471
2731
 
@@ -2474,11 +2734,56 @@ proto.wechaty.puppet.TagTagAddResponse.prototype.getTagId = function() {
2474
2734
  * @param {string} value
2475
2735
  * @return {!proto.wechaty.puppet.TagTagAddResponse} returns this
2476
2736
  */
2477
- proto.wechaty.puppet.TagTagAddResponse.prototype.setTagId = function(value) {
2737
+ proto.wechaty.puppet.TagTagAddResponse.prototype.setDeprecatedTagId = function(value) {
2478
2738
  return jspb.Message.setProto3StringField(this, 1, value);
2479
2739
  };
2480
2740
 
2481
2741
 
2742
+ /**
2743
+ * repeated TagTagInfo tag_info = 2;
2744
+ * @return {!Array<!proto.wechaty.puppet.TagTagInfo>}
2745
+ */
2746
+ proto.wechaty.puppet.TagTagAddResponse.prototype.getTagInfoList = function() {
2747
+ return /** @type{!Array<!proto.wechaty.puppet.TagTagInfo>} */ (
2748
+ jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagTagInfo, 2));
2749
+ };
2750
+
2751
+
2752
+ /**
2753
+ * @param {!Array<!proto.wechaty.puppet.TagTagInfo>} value
2754
+ * @return {!proto.wechaty.puppet.TagTagAddResponse} returns this
2755
+ */
2756
+ proto.wechaty.puppet.TagTagAddResponse.prototype.setTagInfoList = function(value) {
2757
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
2758
+ };
2759
+
2760
+
2761
+ /**
2762
+ * @param {!proto.wechaty.puppet.TagTagInfo=} opt_value
2763
+ * @param {number=} opt_index
2764
+ * @return {!proto.wechaty.puppet.TagTagInfo}
2765
+ */
2766
+ proto.wechaty.puppet.TagTagAddResponse.prototype.addTagInfo = function(opt_value, opt_index) {
2767
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.wechaty.puppet.TagTagInfo, opt_index);
2768
+ };
2769
+
2770
+
2771
+ /**
2772
+ * Clears the list making it empty but non-null.
2773
+ * @return {!proto.wechaty.puppet.TagTagAddResponse} returns this
2774
+ */
2775
+ proto.wechaty.puppet.TagTagAddResponse.prototype.clearTagInfoList = function() {
2776
+ return this.setTagInfoList([]);
2777
+ };
2778
+
2779
+
2780
+
2781
+ /**
2782
+ * List of repeated fields within this message type.
2783
+ * @private {!Array<number>}
2784
+ * @const
2785
+ */
2786
+ proto.wechaty.puppet.TagTagDeleteRequest.repeatedFields_ = [2];
2482
2787
 
2483
2788
 
2484
2789
 
@@ -2511,7 +2816,8 @@ proto.wechaty.puppet.TagTagDeleteRequest.prototype.toObject = function(opt_inclu
2511
2816
  */
2512
2817
  proto.wechaty.puppet.TagTagDeleteRequest.toObject = function(includeInstance, msg) {
2513
2818
  var f, obj = {
2514
- tagId: jspb.Message.getFieldWithDefault(msg, 1, "")
2819
+ deprecatedTagId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2820
+ tagIdList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
2515
2821
  };
2516
2822
 
2517
2823
  if (includeInstance) {
@@ -2550,7 +2856,11 @@ proto.wechaty.puppet.TagTagDeleteRequest.deserializeBinaryFromReader = function(
2550
2856
  switch (field) {
2551
2857
  case 1:
2552
2858
  var value = /** @type {string} */ (reader.readString());
2553
- msg.setTagId(value);
2859
+ msg.setDeprecatedTagId(value);
2860
+ break;
2861
+ case 2:
2862
+ var value = /** @type {string} */ (reader.readString());
2863
+ msg.addTagId(value);
2554
2864
  break;
2555
2865
  default:
2556
2866
  reader.skipField();
@@ -2581,21 +2891,28 @@ proto.wechaty.puppet.TagTagDeleteRequest.prototype.serializeBinary = function()
2581
2891
  */
2582
2892
  proto.wechaty.puppet.TagTagDeleteRequest.serializeBinaryToWriter = function(message, writer) {
2583
2893
  var f = undefined;
2584
- f = message.getTagId();
2894
+ f = message.getDeprecatedTagId();
2585
2895
  if (f.length > 0) {
2586
2896
  writer.writeString(
2587
2897
  1,
2588
2898
  f
2589
2899
  );
2590
2900
  }
2901
+ f = message.getTagIdList();
2902
+ if (f.length > 0) {
2903
+ writer.writeRepeatedString(
2904
+ 2,
2905
+ f
2906
+ );
2907
+ }
2591
2908
  };
2592
2909
 
2593
2910
 
2594
2911
  /**
2595
- * optional string tag_id = 1;
2912
+ * optional string deprecated_tag_id = 1;
2596
2913
  * @return {string}
2597
2914
  */
2598
- proto.wechaty.puppet.TagTagDeleteRequest.prototype.getTagId = function() {
2915
+ proto.wechaty.puppet.TagTagDeleteRequest.prototype.getDeprecatedTagId = function() {
2599
2916
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2600
2917
  };
2601
2918
 
@@ -2604,11 +2921,48 @@ proto.wechaty.puppet.TagTagDeleteRequest.prototype.getTagId = function() {
2604
2921
  * @param {string} value
2605
2922
  * @return {!proto.wechaty.puppet.TagTagDeleteRequest} returns this
2606
2923
  */
2607
- proto.wechaty.puppet.TagTagDeleteRequest.prototype.setTagId = function(value) {
2924
+ proto.wechaty.puppet.TagTagDeleteRequest.prototype.setDeprecatedTagId = function(value) {
2608
2925
  return jspb.Message.setProto3StringField(this, 1, value);
2609
2926
  };
2610
2927
 
2611
2928
 
2929
+ /**
2930
+ * repeated string tag_id = 2;
2931
+ * @return {!Array<string>}
2932
+ */
2933
+ proto.wechaty.puppet.TagTagDeleteRequest.prototype.getTagIdList = function() {
2934
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
2935
+ };
2936
+
2937
+
2938
+ /**
2939
+ * @param {!Array<string>} value
2940
+ * @return {!proto.wechaty.puppet.TagTagDeleteRequest} returns this
2941
+ */
2942
+ proto.wechaty.puppet.TagTagDeleteRequest.prototype.setTagIdList = function(value) {
2943
+ return jspb.Message.setField(this, 2, value || []);
2944
+ };
2945
+
2946
+
2947
+ /**
2948
+ * @param {string} value
2949
+ * @param {number=} opt_index
2950
+ * @return {!proto.wechaty.puppet.TagTagDeleteRequest} returns this
2951
+ */
2952
+ proto.wechaty.puppet.TagTagDeleteRequest.prototype.addTagId = function(value, opt_index) {
2953
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
2954
+ };
2955
+
2956
+
2957
+ /**
2958
+ * Clears the list making it empty but non-null.
2959
+ * @return {!proto.wechaty.puppet.TagTagDeleteRequest} returns this
2960
+ */
2961
+ proto.wechaty.puppet.TagTagDeleteRequest.prototype.clearTagIdList = function() {
2962
+ return this.setTagIdList([]);
2963
+ };
2964
+
2965
+
2612
2966
 
2613
2967
 
2614
2968
 
@@ -2711,6 +3065,13 @@ proto.wechaty.puppet.TagTagDeleteResponse.serializeBinaryToWriter = function(mes
2711
3065
 
2712
3066
 
2713
3067
 
3068
+ /**
3069
+ * List of repeated fields within this message type.
3070
+ * @private {!Array<number>}
3071
+ * @const
3072
+ */
3073
+ proto.wechaty.puppet.TagTagModifyRequest.repeatedFields_ = [3];
3074
+
2714
3075
 
2715
3076
 
2716
3077
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2742,8 +3103,10 @@ proto.wechaty.puppet.TagTagModifyRequest.prototype.toObject = function(opt_inclu
2742
3103
  */
2743
3104
  proto.wechaty.puppet.TagTagModifyRequest.toObject = function(includeInstance, msg) {
2744
3105
  var f, obj = {
2745
- tagId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2746
- tagNewName: jspb.Message.getFieldWithDefault(msg, 2, "")
3106
+ deprecatedTagId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3107
+ deprecatedTagNewName: jspb.Message.getFieldWithDefault(msg, 2, ""),
3108
+ tagNewInfoList: jspb.Message.toObjectList(msg.getTagNewInfoList(),
3109
+ proto.wechaty.puppet.TagTagInfo.toObject, includeInstance)
2747
3110
  };
2748
3111
 
2749
3112
  if (includeInstance) {
@@ -2782,11 +3145,16 @@ proto.wechaty.puppet.TagTagModifyRequest.deserializeBinaryFromReader = function(
2782
3145
  switch (field) {
2783
3146
  case 1:
2784
3147
  var value = /** @type {string} */ (reader.readString());
2785
- msg.setTagId(value);
3148
+ msg.setDeprecatedTagId(value);
2786
3149
  break;
2787
3150
  case 2:
2788
3151
  var value = /** @type {string} */ (reader.readString());
2789
- msg.setTagNewName(value);
3152
+ msg.setDeprecatedTagNewName(value);
3153
+ break;
3154
+ case 3:
3155
+ var value = new proto.wechaty.puppet.TagTagInfo;
3156
+ reader.readMessage(value,proto.wechaty.puppet.TagTagInfo.deserializeBinaryFromReader);
3157
+ msg.addTagNewInfo(value);
2790
3158
  break;
2791
3159
  default:
2792
3160
  reader.skipField();
@@ -2817,28 +3185,36 @@ proto.wechaty.puppet.TagTagModifyRequest.prototype.serializeBinary = function()
2817
3185
  */
2818
3186
  proto.wechaty.puppet.TagTagModifyRequest.serializeBinaryToWriter = function(message, writer) {
2819
3187
  var f = undefined;
2820
- f = message.getTagId();
3188
+ f = message.getDeprecatedTagId();
2821
3189
  if (f.length > 0) {
2822
3190
  writer.writeString(
2823
3191
  1,
2824
3192
  f
2825
3193
  );
2826
3194
  }
2827
- f = message.getTagNewName();
3195
+ f = message.getDeprecatedTagNewName();
2828
3196
  if (f.length > 0) {
2829
3197
  writer.writeString(
2830
3198
  2,
2831
3199
  f
2832
3200
  );
2833
3201
  }
3202
+ f = message.getTagNewInfoList();
3203
+ if (f.length > 0) {
3204
+ writer.writeRepeatedMessage(
3205
+ 3,
3206
+ f,
3207
+ proto.wechaty.puppet.TagTagInfo.serializeBinaryToWriter
3208
+ );
3209
+ }
2834
3210
  };
2835
3211
 
2836
3212
 
2837
3213
  /**
2838
- * optional string tag_id = 1;
3214
+ * optional string deprecated_tag_id = 1;
2839
3215
  * @return {string}
2840
3216
  */
2841
- proto.wechaty.puppet.TagTagModifyRequest.prototype.getTagId = function() {
3217
+ proto.wechaty.puppet.TagTagModifyRequest.prototype.getDeprecatedTagId = function() {
2842
3218
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2843
3219
  };
2844
3220
 
@@ -2847,16 +3223,16 @@ proto.wechaty.puppet.TagTagModifyRequest.prototype.getTagId = function() {
2847
3223
  * @param {string} value
2848
3224
  * @return {!proto.wechaty.puppet.TagTagModifyRequest} returns this
2849
3225
  */
2850
- proto.wechaty.puppet.TagTagModifyRequest.prototype.setTagId = function(value) {
3226
+ proto.wechaty.puppet.TagTagModifyRequest.prototype.setDeprecatedTagId = function(value) {
2851
3227
  return jspb.Message.setProto3StringField(this, 1, value);
2852
3228
  };
2853
3229
 
2854
3230
 
2855
3231
  /**
2856
- * optional string tag_new_name = 2;
3232
+ * optional string deprecated_tag_new_name = 2;
2857
3233
  * @return {string}
2858
3234
  */
2859
- proto.wechaty.puppet.TagTagModifyRequest.prototype.getTagNewName = function() {
3235
+ proto.wechaty.puppet.TagTagModifyRequest.prototype.getDeprecatedTagNewName = function() {
2860
3236
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2861
3237
  };
2862
3238
 
@@ -2865,11 +3241,56 @@ proto.wechaty.puppet.TagTagModifyRequest.prototype.getTagNewName = function() {
2865
3241
  * @param {string} value
2866
3242
  * @return {!proto.wechaty.puppet.TagTagModifyRequest} returns this
2867
3243
  */
2868
- proto.wechaty.puppet.TagTagModifyRequest.prototype.setTagNewName = function(value) {
3244
+ proto.wechaty.puppet.TagTagModifyRequest.prototype.setDeprecatedTagNewName = function(value) {
2869
3245
  return jspb.Message.setProto3StringField(this, 2, value);
2870
3246
  };
2871
3247
 
2872
3248
 
3249
+ /**
3250
+ * repeated TagTagInfo tag_new_info = 3;
3251
+ * @return {!Array<!proto.wechaty.puppet.TagTagInfo>}
3252
+ */
3253
+ proto.wechaty.puppet.TagTagModifyRequest.prototype.getTagNewInfoList = function() {
3254
+ return /** @type{!Array<!proto.wechaty.puppet.TagTagInfo>} */ (
3255
+ jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagTagInfo, 3));
3256
+ };
3257
+
3258
+
3259
+ /**
3260
+ * @param {!Array<!proto.wechaty.puppet.TagTagInfo>} value
3261
+ * @return {!proto.wechaty.puppet.TagTagModifyRequest} returns this
3262
+ */
3263
+ proto.wechaty.puppet.TagTagModifyRequest.prototype.setTagNewInfoList = function(value) {
3264
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
3265
+ };
3266
+
3267
+
3268
+ /**
3269
+ * @param {!proto.wechaty.puppet.TagTagInfo=} opt_value
3270
+ * @param {number=} opt_index
3271
+ * @return {!proto.wechaty.puppet.TagTagInfo}
3272
+ */
3273
+ proto.wechaty.puppet.TagTagModifyRequest.prototype.addTagNewInfo = function(opt_value, opt_index) {
3274
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.wechaty.puppet.TagTagInfo, opt_index);
3275
+ };
3276
+
3277
+
3278
+ /**
3279
+ * Clears the list making it empty but non-null.
3280
+ * @return {!proto.wechaty.puppet.TagTagModifyRequest} returns this
3281
+ */
3282
+ proto.wechaty.puppet.TagTagModifyRequest.prototype.clearTagNewInfoList = function() {
3283
+ return this.setTagNewInfoList([]);
3284
+ };
3285
+
3286
+
3287
+
3288
+ /**
3289
+ * List of repeated fields within this message type.
3290
+ * @private {!Array<number>}
3291
+ * @const
3292
+ */
3293
+ proto.wechaty.puppet.TagTagModifyResponse.repeatedFields_ = [3];
2873
3294
 
2874
3295
 
2875
3296
 
@@ -2902,8 +3323,10 @@ proto.wechaty.puppet.TagTagModifyResponse.prototype.toObject = function(opt_incl
2902
3323
  */
2903
3324
  proto.wechaty.puppet.TagTagModifyResponse.toObject = function(includeInstance, msg) {
2904
3325
  var f, obj = {
2905
- tagId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2906
- tagName: jspb.Message.getFieldWithDefault(msg, 2, "")
3326
+ deprecatedTagId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3327
+ deprecatedTagName: jspb.Message.getFieldWithDefault(msg, 2, ""),
3328
+ tagInfoList: jspb.Message.toObjectList(msg.getTagInfoList(),
3329
+ proto.wechaty.puppet.TagTagInfo.toObject, includeInstance)
2907
3330
  };
2908
3331
 
2909
3332
  if (includeInstance) {
@@ -2942,11 +3365,16 @@ proto.wechaty.puppet.TagTagModifyResponse.deserializeBinaryFromReader = function
2942
3365
  switch (field) {
2943
3366
  case 1:
2944
3367
  var value = /** @type {string} */ (reader.readString());
2945
- msg.setTagId(value);
3368
+ msg.setDeprecatedTagId(value);
2946
3369
  break;
2947
3370
  case 2:
2948
3371
  var value = /** @type {string} */ (reader.readString());
2949
- msg.setTagName(value);
3372
+ msg.setDeprecatedTagName(value);
3373
+ break;
3374
+ case 3:
3375
+ var value = new proto.wechaty.puppet.TagTagInfo;
3376
+ reader.readMessage(value,proto.wechaty.puppet.TagTagInfo.deserializeBinaryFromReader);
3377
+ msg.addTagInfo(value);
2950
3378
  break;
2951
3379
  default:
2952
3380
  reader.skipField();
@@ -2977,28 +3405,36 @@ proto.wechaty.puppet.TagTagModifyResponse.prototype.serializeBinary = function()
2977
3405
  */
2978
3406
  proto.wechaty.puppet.TagTagModifyResponse.serializeBinaryToWriter = function(message, writer) {
2979
3407
  var f = undefined;
2980
- f = message.getTagId();
3408
+ f = message.getDeprecatedTagId();
2981
3409
  if (f.length > 0) {
2982
3410
  writer.writeString(
2983
3411
  1,
2984
3412
  f
2985
3413
  );
2986
3414
  }
2987
- f = message.getTagName();
3415
+ f = message.getDeprecatedTagName();
2988
3416
  if (f.length > 0) {
2989
3417
  writer.writeString(
2990
3418
  2,
2991
3419
  f
2992
3420
  );
2993
3421
  }
3422
+ f = message.getTagInfoList();
3423
+ if (f.length > 0) {
3424
+ writer.writeRepeatedMessage(
3425
+ 3,
3426
+ f,
3427
+ proto.wechaty.puppet.TagTagInfo.serializeBinaryToWriter
3428
+ );
3429
+ }
2994
3430
  };
2995
3431
 
2996
3432
 
2997
3433
  /**
2998
- * optional string tag_id = 1;
3434
+ * optional string deprecated_tag_id = 1;
2999
3435
  * @return {string}
3000
3436
  */
3001
- proto.wechaty.puppet.TagTagModifyResponse.prototype.getTagId = function() {
3437
+ proto.wechaty.puppet.TagTagModifyResponse.prototype.getDeprecatedTagId = function() {
3002
3438
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3003
3439
  };
3004
3440
 
@@ -3007,16 +3443,16 @@ proto.wechaty.puppet.TagTagModifyResponse.prototype.getTagId = function() {
3007
3443
  * @param {string} value
3008
3444
  * @return {!proto.wechaty.puppet.TagTagModifyResponse} returns this
3009
3445
  */
3010
- proto.wechaty.puppet.TagTagModifyResponse.prototype.setTagId = function(value) {
3446
+ proto.wechaty.puppet.TagTagModifyResponse.prototype.setDeprecatedTagId = function(value) {
3011
3447
  return jspb.Message.setProto3StringField(this, 1, value);
3012
3448
  };
3013
3449
 
3014
3450
 
3015
3451
  /**
3016
- * optional string tag_name = 2;
3452
+ * optional string deprecated_tag_name = 2;
3017
3453
  * @return {string}
3018
3454
  */
3019
- proto.wechaty.puppet.TagTagModifyResponse.prototype.getTagName = function() {
3455
+ proto.wechaty.puppet.TagTagModifyResponse.prototype.getDeprecatedTagName = function() {
3020
3456
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3021
3457
  };
3022
3458
 
@@ -3025,11 +3461,49 @@ proto.wechaty.puppet.TagTagModifyResponse.prototype.getTagName = function() {
3025
3461
  * @param {string} value
3026
3462
  * @return {!proto.wechaty.puppet.TagTagModifyResponse} returns this
3027
3463
  */
3028
- proto.wechaty.puppet.TagTagModifyResponse.prototype.setTagName = function(value) {
3464
+ proto.wechaty.puppet.TagTagModifyResponse.prototype.setDeprecatedTagName = function(value) {
3029
3465
  return jspb.Message.setProto3StringField(this, 2, value);
3030
3466
  };
3031
3467
 
3032
3468
 
3469
+ /**
3470
+ * repeated TagTagInfo tag_info = 3;
3471
+ * @return {!Array<!proto.wechaty.puppet.TagTagInfo>}
3472
+ */
3473
+ proto.wechaty.puppet.TagTagModifyResponse.prototype.getTagInfoList = function() {
3474
+ return /** @type{!Array<!proto.wechaty.puppet.TagTagInfo>} */ (
3475
+ jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagTagInfo, 3));
3476
+ };
3477
+
3478
+
3479
+ /**
3480
+ * @param {!Array<!proto.wechaty.puppet.TagTagInfo>} value
3481
+ * @return {!proto.wechaty.puppet.TagTagModifyResponse} returns this
3482
+ */
3483
+ proto.wechaty.puppet.TagTagModifyResponse.prototype.setTagInfoList = function(value) {
3484
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
3485
+ };
3486
+
3487
+
3488
+ /**
3489
+ * @param {!proto.wechaty.puppet.TagTagInfo=} opt_value
3490
+ * @param {number=} opt_index
3491
+ * @return {!proto.wechaty.puppet.TagTagInfo}
3492
+ */
3493
+ proto.wechaty.puppet.TagTagModifyResponse.prototype.addTagInfo = function(opt_value, opt_index) {
3494
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.wechaty.puppet.TagTagInfo, opt_index);
3495
+ };
3496
+
3497
+
3498
+ /**
3499
+ * Clears the list making it empty but non-null.
3500
+ * @return {!proto.wechaty.puppet.TagTagModifyResponse} returns this
3501
+ */
3502
+ proto.wechaty.puppet.TagTagModifyResponse.prototype.clearTagInfoList = function() {
3503
+ return this.setTagInfoList([]);
3504
+ };
3505
+
3506
+
3033
3507
 
3034
3508
 
3035
3509