@juzi/wechaty-grpc 1.0.12 → 1.0.15

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.
Files changed (62) hide show
  1. package/dist/cjs/out/wechaty/puppet/base_pb.d.ts +2 -0
  2. package/dist/cjs/out/wechaty/puppet/base_pb.js +3 -1
  3. package/dist/cjs/out/wechaty/puppet/contact_pb.d.ts +7 -0
  4. package/dist/cjs/out/wechaty/puppet/contact_pb.js +57 -2
  5. package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +2 -0
  6. package/dist/cjs/out/wechaty/puppet/event_pb.js +3 -1
  7. package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +123 -35
  8. package/dist/cjs/out/wechaty/puppet/tag_pb.js +821 -145
  9. package/dist/cjs/out/wechaty/puppet.openapi.yaml +94 -14
  10. package/dist/cjs/out/wechaty/puppet.swagger.json +140 -21
  11. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  12. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +66 -0
  13. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +38 -0
  14. package/dist/cjs/out/wechaty/puppet_pb_service.js +80 -0
  15. package/dist/cjs/proto/wechaty/puppet/base.proto +2 -0
  16. package/dist/cjs/proto/wechaty/puppet/contact.proto +4 -0
  17. package/dist/cjs/proto/wechaty/puppet/event.proto +2 -0
  18. package/dist/cjs/proto/wechaty/puppet/tag.proto +26 -9
  19. package/dist/cjs/proto/wechaty/puppet.proto +14 -0
  20. package/dist/cjs/src/package-json.js +1 -1
  21. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  22. package/dist/cjs/tests/puppet-server-impl.js +10 -0
  23. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  24. package/dist/esm/out/wechaty/puppet/base_pb.d.ts +2 -0
  25. package/dist/esm/out/wechaty/puppet/base_pb.js +3 -1
  26. package/dist/esm/out/wechaty/puppet/contact_pb.d.ts +7 -0
  27. package/dist/esm/out/wechaty/puppet/contact_pb.js +57 -2
  28. package/dist/esm/out/wechaty/puppet/event_pb.d.ts +2 -0
  29. package/dist/esm/out/wechaty/puppet/event_pb.js +3 -1
  30. package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +123 -35
  31. package/dist/esm/out/wechaty/puppet/tag_pb.js +821 -145
  32. package/dist/esm/out/wechaty/puppet.openapi.yaml +94 -14
  33. package/dist/esm/out/wechaty/puppet.swagger.json +140 -21
  34. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  35. package/dist/esm/out/wechaty/puppet_grpc_pb.js +66 -0
  36. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +38 -0
  37. package/dist/esm/out/wechaty/puppet_pb_service.js +80 -0
  38. package/dist/esm/proto/wechaty/puppet/base.proto +2 -0
  39. package/dist/esm/proto/wechaty/puppet/contact.proto +4 -0
  40. package/dist/esm/proto/wechaty/puppet/event.proto +2 -0
  41. package/dist/esm/proto/wechaty/puppet/tag.proto +26 -9
  42. package/dist/esm/proto/wechaty/puppet.proto +14 -0
  43. package/dist/esm/src/package-json.js +1 -1
  44. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  45. package/dist/esm/tests/puppet-server-impl.js +10 -0
  46. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  47. package/out/wechaty/puppet/base_pb.d.ts +2 -0
  48. package/out/wechaty/puppet/base_pb.js +3 -1
  49. package/out/wechaty/puppet/contact_pb.d.ts +7 -0
  50. package/out/wechaty/puppet/contact_pb.js +57 -2
  51. package/out/wechaty/puppet/event_pb.d.ts +2 -0
  52. package/out/wechaty/puppet/event_pb.js +3 -1
  53. package/out/wechaty/puppet/tag_pb.d.ts +123 -35
  54. package/out/wechaty/puppet/tag_pb.js +821 -145
  55. package/out/wechaty/puppet.openapi.yaml +94 -14
  56. package/out/wechaty/puppet.swagger.json +140 -21
  57. package/out/wechaty/puppet_grpc_pb.d.ts +34 -0
  58. package/out/wechaty/puppet_grpc_pb.js +66 -0
  59. package/out/wechaty/puppet_pb_service.d.ts +38 -0
  60. package/out/wechaty/puppet_pb_service.js +80 -0
  61. package/package.json +1 -1
  62. package/src/package-json.ts +1 -1
@@ -28,10 +28,14 @@ goog.exportSymbol('proto.wechaty.puppet.TagGroupDeleteResponse', null, global);
28
28
  goog.exportSymbol('proto.wechaty.puppet.TagGroupListRequest', null, global);
29
29
  goog.exportSymbol('proto.wechaty.puppet.TagGroupListResponse', null, global);
30
30
  goog.exportSymbol('proto.wechaty.puppet.TagGroupPayload', null, global);
31
+ goog.exportSymbol('proto.wechaty.puppet.TagGroupPayloadRequest', null, global);
32
+ goog.exportSymbol('proto.wechaty.puppet.TagGroupPayloadResponse', null, global);
31
33
  goog.exportSymbol('proto.wechaty.puppet.TagGroupTagListRequest', null, global);
32
34
  goog.exportSymbol('proto.wechaty.puppet.TagGroupTagListResponse', null, global);
33
35
  goog.exportSymbol('proto.wechaty.puppet.TagIdentifier', null, global);
34
36
  goog.exportSymbol('proto.wechaty.puppet.TagPayload', null, global);
37
+ goog.exportSymbol('proto.wechaty.puppet.TagPayloadRequest', null, global);
38
+ goog.exportSymbol('proto.wechaty.puppet.TagPayloadResponse', null, global);
35
39
  goog.exportSymbol('proto.wechaty.puppet.TagTagAddRequest', null, global);
36
40
  goog.exportSymbol('proto.wechaty.puppet.TagTagAddResponse', null, global);
37
41
  goog.exportSymbol('proto.wechaty.puppet.TagTagContactListRequest', null, global);
@@ -566,6 +570,90 @@ if (goog.DEBUG && !COMPILED) {
566
570
  */
567
571
  proto.wechaty.puppet.TagTagContactListResponse.displayName = 'proto.wechaty.puppet.TagTagContactListResponse';
568
572
  }
573
+ /**
574
+ * Generated by JsPbCodeGenerator.
575
+ * @param {Array=} opt_data Optional initial data array, typically from a
576
+ * server response, or constructed directly in Javascript. The array is used
577
+ * in place and becomes part of the constructed object. It is not cloned.
578
+ * If no data is provided, the constructed object will be empty, but still
579
+ * valid.
580
+ * @extends {jspb.Message}
581
+ * @constructor
582
+ */
583
+ proto.wechaty.puppet.TagGroupPayloadRequest = function(opt_data) {
584
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
585
+ };
586
+ goog.inherits(proto.wechaty.puppet.TagGroupPayloadRequest, jspb.Message);
587
+ if (goog.DEBUG && !COMPILED) {
588
+ /**
589
+ * @public
590
+ * @override
591
+ */
592
+ proto.wechaty.puppet.TagGroupPayloadRequest.displayName = 'proto.wechaty.puppet.TagGroupPayloadRequest';
593
+ }
594
+ /**
595
+ * Generated by JsPbCodeGenerator.
596
+ * @param {Array=} opt_data Optional initial data array, typically from a
597
+ * server response, or constructed directly in Javascript. The array is used
598
+ * in place and becomes part of the constructed object. It is not cloned.
599
+ * If no data is provided, the constructed object will be empty, but still
600
+ * valid.
601
+ * @extends {jspb.Message}
602
+ * @constructor
603
+ */
604
+ proto.wechaty.puppet.TagGroupPayloadResponse = function(opt_data) {
605
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
606
+ };
607
+ goog.inherits(proto.wechaty.puppet.TagGroupPayloadResponse, jspb.Message);
608
+ if (goog.DEBUG && !COMPILED) {
609
+ /**
610
+ * @public
611
+ * @override
612
+ */
613
+ proto.wechaty.puppet.TagGroupPayloadResponse.displayName = 'proto.wechaty.puppet.TagGroupPayloadResponse';
614
+ }
615
+ /**
616
+ * Generated by JsPbCodeGenerator.
617
+ * @param {Array=} opt_data Optional initial data array, typically from a
618
+ * server response, or constructed directly in Javascript. The array is used
619
+ * in place and becomes part of the constructed object. It is not cloned.
620
+ * If no data is provided, the constructed object will be empty, but still
621
+ * valid.
622
+ * @extends {jspb.Message}
623
+ * @constructor
624
+ */
625
+ proto.wechaty.puppet.TagPayloadRequest = function(opt_data) {
626
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
627
+ };
628
+ goog.inherits(proto.wechaty.puppet.TagPayloadRequest, jspb.Message);
629
+ if (goog.DEBUG && !COMPILED) {
630
+ /**
631
+ * @public
632
+ * @override
633
+ */
634
+ proto.wechaty.puppet.TagPayloadRequest.displayName = 'proto.wechaty.puppet.TagPayloadRequest';
635
+ }
636
+ /**
637
+ * Generated by JsPbCodeGenerator.
638
+ * @param {Array=} opt_data Optional initial data array, typically from a
639
+ * server response, or constructed directly in Javascript. The array is used
640
+ * in place and becomes part of the constructed object. It is not cloned.
641
+ * If no data is provided, the constructed object will be empty, but still
642
+ * valid.
643
+ * @extends {jspb.Message}
644
+ * @constructor
645
+ */
646
+ proto.wechaty.puppet.TagPayloadResponse = function(opt_data) {
647
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
648
+ };
649
+ goog.inherits(proto.wechaty.puppet.TagPayloadResponse, jspb.Message);
650
+ if (goog.DEBUG && !COMPILED) {
651
+ /**
652
+ * @public
653
+ * @override
654
+ */
655
+ proto.wechaty.puppet.TagPayloadResponse.displayName = 'proto.wechaty.puppet.TagPayloadResponse';
656
+ }
569
657
 
570
658
 
571
659
 
@@ -979,7 +1067,8 @@ proto.wechaty.puppet.TagGroupPayload.prototype.toObject = function(opt_includeIn
979
1067
  proto.wechaty.puppet.TagGroupPayload.toObject = function(includeInstance, msg) {
980
1068
  var f, obj = {
981
1069
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
982
- name: jspb.Message.getFieldWithDefault(msg, 2, "")
1070
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
1071
+ type: jspb.Message.getFieldWithDefault(msg, 3, 0)
983
1072
  };
984
1073
 
985
1074
  if (includeInstance) {
@@ -1024,6 +1113,10 @@ proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader = function(msg,
1024
1113
  var value = /** @type {string} */ (reader.readString());
1025
1114
  msg.setName(value);
1026
1115
  break;
1116
+ case 3:
1117
+ var value = /** @type {!proto.wechaty.puppet.TagType} */ (reader.readEnum());
1118
+ msg.setType(value);
1119
+ break;
1027
1120
  default:
1028
1121
  reader.skipField();
1029
1122
  break;
@@ -1067,6 +1160,13 @@ proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter = function(message,
1067
1160
  f
1068
1161
  );
1069
1162
  }
1163
+ f = message.getType();
1164
+ if (f !== 0.0) {
1165
+ writer.writeEnum(
1166
+ 3,
1167
+ f
1168
+ );
1169
+ }
1070
1170
  };
1071
1171
 
1072
1172
 
@@ -1106,6 +1206,24 @@ proto.wechaty.puppet.TagGroupPayload.prototype.setName = function(value) {
1106
1206
  };
1107
1207
 
1108
1208
 
1209
+ /**
1210
+ * optional TagType type = 3;
1211
+ * @return {!proto.wechaty.puppet.TagType}
1212
+ */
1213
+ proto.wechaty.puppet.TagGroupPayload.prototype.getType = function() {
1214
+ return /** @type {!proto.wechaty.puppet.TagType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1215
+ };
1216
+
1217
+
1218
+ /**
1219
+ * @param {!proto.wechaty.puppet.TagType} value
1220
+ * @return {!proto.wechaty.puppet.TagGroupPayload} returns this
1221
+ */
1222
+ proto.wechaty.puppet.TagGroupPayload.prototype.setType = function(value) {
1223
+ return jspb.Message.setProto3EnumField(this, 3, value);
1224
+ };
1225
+
1226
+
1109
1227
 
1110
1228
  /**
1111
1229
  * List of repeated fields within this message type.
@@ -1888,7 +2006,7 @@ proto.wechaty.puppet.TagGroupAddResponse.prototype.toObject = function(opt_inclu
1888
2006
  */
1889
2007
  proto.wechaty.puppet.TagGroupAddResponse.toObject = function(includeInstance, msg) {
1890
2008
  var f, obj = {
1891
- payload: (f = msg.getPayload()) && proto.wechaty.puppet.TagGroupPayload.toObject(includeInstance, f)
2009
+ tagGroupId: jspb.Message.getFieldWithDefault(msg, 1, "")
1892
2010
  };
1893
2011
 
1894
2012
  if (includeInstance) {
@@ -1926,9 +2044,8 @@ proto.wechaty.puppet.TagGroupAddResponse.deserializeBinaryFromReader = function(
1926
2044
  var field = reader.getFieldNumber();
1927
2045
  switch (field) {
1928
2046
  case 1:
1929
- var value = new proto.wechaty.puppet.TagGroupPayload;
1930
- reader.readMessage(value,proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader);
1931
- msg.setPayload(value);
2047
+ var value = /** @type {string} */ (reader.readString());
2048
+ msg.setTagGroupId(value);
1932
2049
  break;
1933
2050
  default:
1934
2051
  reader.skipField();
@@ -1959,51 +2076,31 @@ proto.wechaty.puppet.TagGroupAddResponse.prototype.serializeBinary = function()
1959
2076
  */
1960
2077
  proto.wechaty.puppet.TagGroupAddResponse.serializeBinaryToWriter = function(message, writer) {
1961
2078
  var f = undefined;
1962
- f = message.getPayload();
1963
- if (f != null) {
1964
- writer.writeMessage(
2079
+ f = message.getTagGroupId();
2080
+ if (f.length > 0) {
2081
+ writer.writeString(
1965
2082
  1,
1966
- f,
1967
- proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter
2083
+ f
1968
2084
  );
1969
2085
  }
1970
2086
  };
1971
2087
 
1972
2088
 
1973
2089
  /**
1974
- * optional TagGroupPayload payload = 1;
1975
- * @return {?proto.wechaty.puppet.TagGroupPayload}
2090
+ * optional string tag_group_id = 1;
2091
+ * @return {string}
1976
2092
  */
1977
- proto.wechaty.puppet.TagGroupAddResponse.prototype.getPayload = function() {
1978
- return /** @type{?proto.wechaty.puppet.TagGroupPayload} */ (
1979
- jspb.Message.getWrapperField(this, proto.wechaty.puppet.TagGroupPayload, 1));
1980
- };
1981
-
1982
-
1983
- /**
1984
- * @param {?proto.wechaty.puppet.TagGroupPayload|undefined} value
1985
- * @return {!proto.wechaty.puppet.TagGroupAddResponse} returns this
1986
- */
1987
- proto.wechaty.puppet.TagGroupAddResponse.prototype.setPayload = function(value) {
1988
- return jspb.Message.setWrapperField(this, 1, value);
2093
+ proto.wechaty.puppet.TagGroupAddResponse.prototype.getTagGroupId = function() {
2094
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1989
2095
  };
1990
2096
 
1991
2097
 
1992
2098
  /**
1993
- * Clears the message field making it undefined.
2099
+ * @param {string} value
1994
2100
  * @return {!proto.wechaty.puppet.TagGroupAddResponse} returns this
1995
2101
  */
1996
- proto.wechaty.puppet.TagGroupAddResponse.prototype.clearPayload = function() {
1997
- return this.setPayload(undefined);
1998
- };
1999
-
2000
-
2001
- /**
2002
- * Returns whether this field is set.
2003
- * @return {boolean}
2004
- */
2005
- proto.wechaty.puppet.TagGroupAddResponse.prototype.hasPayload = function() {
2006
- return jspb.Message.getField(this, 1) != null;
2102
+ proto.wechaty.puppet.TagGroupAddResponse.prototype.setTagGroupId = function(value) {
2103
+ return jspb.Message.setProto3StringField(this, 1, value);
2007
2104
  };
2008
2105
 
2009
2106
 
@@ -2430,7 +2527,7 @@ proto.wechaty.puppet.TagTagAddResponse.prototype.toObject = function(opt_include
2430
2527
  */
2431
2528
  proto.wechaty.puppet.TagTagAddResponse.toObject = function(includeInstance, msg) {
2432
2529
  var f, obj = {
2433
- payload: (f = msg.getPayload()) && proto.wechaty.puppet.TagPayload.toObject(includeInstance, f)
2530
+ tag: (f = msg.getTag()) && proto.wechaty.puppet.TagIdentifier.toObject(includeInstance, f)
2434
2531
  };
2435
2532
 
2436
2533
  if (includeInstance) {
@@ -2468,9 +2565,9 @@ proto.wechaty.puppet.TagTagAddResponse.deserializeBinaryFromReader = function(ms
2468
2565
  var field = reader.getFieldNumber();
2469
2566
  switch (field) {
2470
2567
  case 1:
2471
- var value = new proto.wechaty.puppet.TagPayload;
2472
- reader.readMessage(value,proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader);
2473
- msg.setPayload(value);
2568
+ var value = new proto.wechaty.puppet.TagIdentifier;
2569
+ reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
2570
+ msg.setTag(value);
2474
2571
  break;
2475
2572
  default:
2476
2573
  reader.skipField();
@@ -2501,32 +2598,32 @@ proto.wechaty.puppet.TagTagAddResponse.prototype.serializeBinary = function() {
2501
2598
  */
2502
2599
  proto.wechaty.puppet.TagTagAddResponse.serializeBinaryToWriter = function(message, writer) {
2503
2600
  var f = undefined;
2504
- f = message.getPayload();
2601
+ f = message.getTag();
2505
2602
  if (f != null) {
2506
2603
  writer.writeMessage(
2507
2604
  1,
2508
2605
  f,
2509
- proto.wechaty.puppet.TagPayload.serializeBinaryToWriter
2606
+ proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
2510
2607
  );
2511
2608
  }
2512
2609
  };
2513
2610
 
2514
2611
 
2515
2612
  /**
2516
- * optional TagPayload payload = 1;
2517
- * @return {?proto.wechaty.puppet.TagPayload}
2613
+ * optional TagIdentifier tag = 1;
2614
+ * @return {?proto.wechaty.puppet.TagIdentifier}
2518
2615
  */
2519
- proto.wechaty.puppet.TagTagAddResponse.prototype.getPayload = function() {
2520
- return /** @type{?proto.wechaty.puppet.TagPayload} */ (
2521
- jspb.Message.getWrapperField(this, proto.wechaty.puppet.TagPayload, 1));
2616
+ proto.wechaty.puppet.TagTagAddResponse.prototype.getTag = function() {
2617
+ return /** @type{?proto.wechaty.puppet.TagIdentifier} */ (
2618
+ jspb.Message.getWrapperField(this, proto.wechaty.puppet.TagIdentifier, 1));
2522
2619
  };
2523
2620
 
2524
2621
 
2525
2622
  /**
2526
- * @param {?proto.wechaty.puppet.TagPayload|undefined} value
2623
+ * @param {?proto.wechaty.puppet.TagIdentifier|undefined} value
2527
2624
  * @return {!proto.wechaty.puppet.TagTagAddResponse} returns this
2528
2625
  */
2529
- proto.wechaty.puppet.TagTagAddResponse.prototype.setPayload = function(value) {
2626
+ proto.wechaty.puppet.TagTagAddResponse.prototype.setTag = function(value) {
2530
2627
  return jspb.Message.setWrapperField(this, 1, value);
2531
2628
  };
2532
2629
 
@@ -2535,8 +2632,8 @@ proto.wechaty.puppet.TagTagAddResponse.prototype.setPayload = function(value) {
2535
2632
  * Clears the message field making it undefined.
2536
2633
  * @return {!proto.wechaty.puppet.TagTagAddResponse} returns this
2537
2634
  */
2538
- proto.wechaty.puppet.TagTagAddResponse.prototype.clearPayload = function() {
2539
- return this.setPayload(undefined);
2635
+ proto.wechaty.puppet.TagTagAddResponse.prototype.clearTag = function() {
2636
+ return this.setTag(undefined);
2540
2637
  };
2541
2638
 
2542
2639
 
@@ -2544,7 +2641,7 @@ proto.wechaty.puppet.TagTagAddResponse.prototype.clearPayload = function() {
2544
2641
  * Returns whether this field is set.
2545
2642
  * @return {boolean}
2546
2643
  */
2547
- proto.wechaty.puppet.TagTagAddResponse.prototype.hasPayload = function() {
2644
+ proto.wechaty.puppet.TagTagAddResponse.prototype.hasTag = function() {
2548
2645
  return jspb.Message.getField(this, 1) != null;
2549
2646
  };
2550
2647
 
@@ -2941,8 +3038,7 @@ proto.wechaty.puppet.TagGroupListResponse.prototype.toObject = function(opt_incl
2941
3038
  */
2942
3039
  proto.wechaty.puppet.TagGroupListResponse.toObject = function(includeInstance, msg) {
2943
3040
  var f, obj = {
2944
- payloadsList: jspb.Message.toObjectList(msg.getPayloadsList(),
2945
- proto.wechaty.puppet.TagGroupPayload.toObject, includeInstance)
3041
+ tagGroupIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
2946
3042
  };
2947
3043
 
2948
3044
  if (includeInstance) {
@@ -2980,9 +3076,8 @@ proto.wechaty.puppet.TagGroupListResponse.deserializeBinaryFromReader = function
2980
3076
  var field = reader.getFieldNumber();
2981
3077
  switch (field) {
2982
3078
  case 1:
2983
- var value = new proto.wechaty.puppet.TagGroupPayload;
2984
- reader.readMessage(value,proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader);
2985
- msg.addPayloads(value);
3079
+ var value = /** @type {string} */ (reader.readString());
3080
+ msg.addTagGroupIds(value);
2986
3081
  break;
2987
3082
  default:
2988
3083
  reader.skipField();
@@ -3013,43 +3108,41 @@ proto.wechaty.puppet.TagGroupListResponse.prototype.serializeBinary = function()
3013
3108
  */
3014
3109
  proto.wechaty.puppet.TagGroupListResponse.serializeBinaryToWriter = function(message, writer) {
3015
3110
  var f = undefined;
3016
- f = message.getPayloadsList();
3111
+ f = message.getTagGroupIdsList();
3017
3112
  if (f.length > 0) {
3018
- writer.writeRepeatedMessage(
3113
+ writer.writeRepeatedString(
3019
3114
  1,
3020
- f,
3021
- proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter
3115
+ f
3022
3116
  );
3023
3117
  }
3024
3118
  };
3025
3119
 
3026
3120
 
3027
3121
  /**
3028
- * repeated TagGroupPayload payloads = 1;
3029
- * @return {!Array<!proto.wechaty.puppet.TagGroupPayload>}
3122
+ * repeated string tag_group_ids = 1;
3123
+ * @return {!Array<string>}
3030
3124
  */
3031
- proto.wechaty.puppet.TagGroupListResponse.prototype.getPayloadsList = function() {
3032
- return /** @type{!Array<!proto.wechaty.puppet.TagGroupPayload>} */ (
3033
- jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagGroupPayload, 1));
3125
+ proto.wechaty.puppet.TagGroupListResponse.prototype.getTagGroupIdsList = function() {
3126
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
3034
3127
  };
3035
3128
 
3036
3129
 
3037
3130
  /**
3038
- * @param {!Array<!proto.wechaty.puppet.TagGroupPayload>} value
3131
+ * @param {!Array<string>} value
3039
3132
  * @return {!proto.wechaty.puppet.TagGroupListResponse} returns this
3040
- */
3041
- proto.wechaty.puppet.TagGroupListResponse.prototype.setPayloadsList = function(value) {
3042
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
3133
+ */
3134
+ proto.wechaty.puppet.TagGroupListResponse.prototype.setTagGroupIdsList = function(value) {
3135
+ return jspb.Message.setField(this, 1, value || []);
3043
3136
  };
3044
3137
 
3045
3138
 
3046
3139
  /**
3047
- * @param {!proto.wechaty.puppet.TagGroupPayload=} opt_value
3140
+ * @param {string} value
3048
3141
  * @param {number=} opt_index
3049
- * @return {!proto.wechaty.puppet.TagGroupPayload}
3142
+ * @return {!proto.wechaty.puppet.TagGroupListResponse} returns this
3050
3143
  */
3051
- proto.wechaty.puppet.TagGroupListResponse.prototype.addPayloads = function(opt_value, opt_index) {
3052
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagGroupPayload, opt_index);
3144
+ proto.wechaty.puppet.TagGroupListResponse.prototype.addTagGroupIds = function(value, opt_index) {
3145
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
3053
3146
  };
3054
3147
 
3055
3148
 
@@ -3057,8 +3150,8 @@ proto.wechaty.puppet.TagGroupListResponse.prototype.addPayloads = function(opt_v
3057
3150
  * Clears the list making it empty but non-null.
3058
3151
  * @return {!proto.wechaty.puppet.TagGroupListResponse} returns this
3059
3152
  */
3060
- proto.wechaty.puppet.TagGroupListResponse.prototype.clearPayloadsList = function() {
3061
- return this.setPayloadsList([]);
3153
+ proto.wechaty.puppet.TagGroupListResponse.prototype.clearTagGroupIdsList = function() {
3154
+ return this.setTagGroupIdsList([]);
3062
3155
  };
3063
3156
 
3064
3157
 
@@ -3231,8 +3324,8 @@ proto.wechaty.puppet.TagGroupTagListResponse.prototype.toObject = function(opt_i
3231
3324
  */
3232
3325
  proto.wechaty.puppet.TagGroupTagListResponse.toObject = function(includeInstance, msg) {
3233
3326
  var f, obj = {
3234
- payloadsList: jspb.Message.toObjectList(msg.getPayloadsList(),
3235
- proto.wechaty.puppet.TagPayload.toObject, includeInstance)
3327
+ tagsList: jspb.Message.toObjectList(msg.getTagsList(),
3328
+ proto.wechaty.puppet.TagIdentifier.toObject, includeInstance)
3236
3329
  };
3237
3330
 
3238
3331
  if (includeInstance) {
@@ -3270,9 +3363,9 @@ proto.wechaty.puppet.TagGroupTagListResponse.deserializeBinaryFromReader = funct
3270
3363
  var field = reader.getFieldNumber();
3271
3364
  switch (field) {
3272
3365
  case 1:
3273
- var value = new proto.wechaty.puppet.TagPayload;
3274
- reader.readMessage(value,proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader);
3275
- msg.addPayloads(value);
3366
+ var value = new proto.wechaty.puppet.TagIdentifier;
3367
+ reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
3368
+ msg.addTags(value);
3276
3369
  break;
3277
3370
  default:
3278
3371
  reader.skipField();
@@ -3303,43 +3396,43 @@ proto.wechaty.puppet.TagGroupTagListResponse.prototype.serializeBinary = functio
3303
3396
  */
3304
3397
  proto.wechaty.puppet.TagGroupTagListResponse.serializeBinaryToWriter = function(message, writer) {
3305
3398
  var f = undefined;
3306
- f = message.getPayloadsList();
3399
+ f = message.getTagsList();
3307
3400
  if (f.length > 0) {
3308
3401
  writer.writeRepeatedMessage(
3309
3402
  1,
3310
3403
  f,
3311
- proto.wechaty.puppet.TagPayload.serializeBinaryToWriter
3404
+ proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
3312
3405
  );
3313
3406
  }
3314
3407
  };
3315
3408
 
3316
3409
 
3317
3410
  /**
3318
- * repeated TagPayload payloads = 1;
3319
- * @return {!Array<!proto.wechaty.puppet.TagPayload>}
3411
+ * repeated TagIdentifier tags = 1;
3412
+ * @return {!Array<!proto.wechaty.puppet.TagIdentifier>}
3320
3413
  */
3321
- proto.wechaty.puppet.TagGroupTagListResponse.prototype.getPayloadsList = function() {
3322
- return /** @type{!Array<!proto.wechaty.puppet.TagPayload>} */ (
3323
- jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagPayload, 1));
3414
+ proto.wechaty.puppet.TagGroupTagListResponse.prototype.getTagsList = function() {
3415
+ return /** @type{!Array<!proto.wechaty.puppet.TagIdentifier>} */ (
3416
+ jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagIdentifier, 1));
3324
3417
  };
3325
3418
 
3326
3419
 
3327
3420
  /**
3328
- * @param {!Array<!proto.wechaty.puppet.TagPayload>} value
3421
+ * @param {!Array<!proto.wechaty.puppet.TagIdentifier>} value
3329
3422
  * @return {!proto.wechaty.puppet.TagGroupTagListResponse} returns this
3330
3423
  */
3331
- proto.wechaty.puppet.TagGroupTagListResponse.prototype.setPayloadsList = function(value) {
3424
+ proto.wechaty.puppet.TagGroupTagListResponse.prototype.setTagsList = function(value) {
3332
3425
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
3333
3426
  };
3334
3427
 
3335
3428
 
3336
3429
  /**
3337
- * @param {!proto.wechaty.puppet.TagPayload=} opt_value
3430
+ * @param {!proto.wechaty.puppet.TagIdentifier=} opt_value
3338
3431
  * @param {number=} opt_index
3339
- * @return {!proto.wechaty.puppet.TagPayload}
3432
+ * @return {!proto.wechaty.puppet.TagIdentifier}
3340
3433
  */
3341
- proto.wechaty.puppet.TagGroupTagListResponse.prototype.addPayloads = function(opt_value, opt_index) {
3342
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagPayload, opt_index);
3434
+ proto.wechaty.puppet.TagGroupTagListResponse.prototype.addTags = function(opt_value, opt_index) {
3435
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagIdentifier, opt_index);
3343
3436
  };
3344
3437
 
3345
3438
 
@@ -3347,8 +3440,8 @@ proto.wechaty.puppet.TagGroupTagListResponse.prototype.addPayloads = function(op
3347
3440
  * Clears the list making it empty but non-null.
3348
3441
  * @return {!proto.wechaty.puppet.TagGroupTagListResponse} returns this
3349
3442
  */
3350
- proto.wechaty.puppet.TagGroupTagListResponse.prototype.clearPayloadsList = function() {
3351
- return this.setPayloadsList([]);
3443
+ proto.wechaty.puppet.TagGroupTagListResponse.prototype.clearTagsList = function() {
3444
+ return this.setTagsList([]);
3352
3445
  };
3353
3446
 
3354
3447
 
@@ -3492,8 +3585,8 @@ proto.wechaty.puppet.TagTagListResponse.prototype.toObject = function(opt_includ
3492
3585
  */
3493
3586
  proto.wechaty.puppet.TagTagListResponse.toObject = function(includeInstance, msg) {
3494
3587
  var f, obj = {
3495
- payloadsList: jspb.Message.toObjectList(msg.getPayloadsList(),
3496
- proto.wechaty.puppet.TagPayload.toObject, includeInstance)
3588
+ tagsList: jspb.Message.toObjectList(msg.getTagsList(),
3589
+ proto.wechaty.puppet.TagIdentifier.toObject, includeInstance)
3497
3590
  };
3498
3591
 
3499
3592
  if (includeInstance) {
@@ -3531,9 +3624,9 @@ proto.wechaty.puppet.TagTagListResponse.deserializeBinaryFromReader = function(m
3531
3624
  var field = reader.getFieldNumber();
3532
3625
  switch (field) {
3533
3626
  case 1:
3534
- var value = new proto.wechaty.puppet.TagPayload;
3535
- reader.readMessage(value,proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader);
3536
- msg.addPayloads(value);
3627
+ var value = new proto.wechaty.puppet.TagIdentifier;
3628
+ reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
3629
+ msg.addTags(value);
3537
3630
  break;
3538
3631
  default:
3539
3632
  reader.skipField();
@@ -3564,43 +3657,43 @@ proto.wechaty.puppet.TagTagListResponse.prototype.serializeBinary = function() {
3564
3657
  */
3565
3658
  proto.wechaty.puppet.TagTagListResponse.serializeBinaryToWriter = function(message, writer) {
3566
3659
  var f = undefined;
3567
- f = message.getPayloadsList();
3660
+ f = message.getTagsList();
3568
3661
  if (f.length > 0) {
3569
3662
  writer.writeRepeatedMessage(
3570
3663
  1,
3571
3664
  f,
3572
- proto.wechaty.puppet.TagPayload.serializeBinaryToWriter
3665
+ proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
3573
3666
  );
3574
3667
  }
3575
3668
  };
3576
3669
 
3577
3670
 
3578
3671
  /**
3579
- * repeated TagPayload payloads = 1;
3580
- * @return {!Array<!proto.wechaty.puppet.TagPayload>}
3672
+ * repeated TagIdentifier tags = 1;
3673
+ * @return {!Array<!proto.wechaty.puppet.TagIdentifier>}
3581
3674
  */
3582
- proto.wechaty.puppet.TagTagListResponse.prototype.getPayloadsList = function() {
3583
- return /** @type{!Array<!proto.wechaty.puppet.TagPayload>} */ (
3584
- jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagPayload, 1));
3675
+ proto.wechaty.puppet.TagTagListResponse.prototype.getTagsList = function() {
3676
+ return /** @type{!Array<!proto.wechaty.puppet.TagIdentifier>} */ (
3677
+ jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagIdentifier, 1));
3585
3678
  };
3586
3679
 
3587
3680
 
3588
3681
  /**
3589
- * @param {!Array<!proto.wechaty.puppet.TagPayload>} value
3682
+ * @param {!Array<!proto.wechaty.puppet.TagIdentifier>} value
3590
3683
  * @return {!proto.wechaty.puppet.TagTagListResponse} returns this
3591
3684
  */
3592
- proto.wechaty.puppet.TagTagListResponse.prototype.setPayloadsList = function(value) {
3685
+ proto.wechaty.puppet.TagTagListResponse.prototype.setTagsList = function(value) {
3593
3686
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
3594
3687
  };
3595
3688
 
3596
3689
 
3597
3690
  /**
3598
- * @param {!proto.wechaty.puppet.TagPayload=} opt_value
3691
+ * @param {!proto.wechaty.puppet.TagIdentifier=} opt_value
3599
3692
  * @param {number=} opt_index
3600
- * @return {!proto.wechaty.puppet.TagPayload}
3693
+ * @return {!proto.wechaty.puppet.TagIdentifier}
3601
3694
  */
3602
- proto.wechaty.puppet.TagTagListResponse.prototype.addPayloads = function(opt_value, opt_index) {
3603
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagPayload, opt_index);
3695
+ proto.wechaty.puppet.TagTagListResponse.prototype.addTags = function(opt_value, opt_index) {
3696
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagIdentifier, opt_index);
3604
3697
  };
3605
3698
 
3606
3699
 
@@ -3608,8 +3701,8 @@ proto.wechaty.puppet.TagTagListResponse.prototype.addPayloads = function(opt_val
3608
3701
  * Clears the list making it empty but non-null.
3609
3702
  * @return {!proto.wechaty.puppet.TagTagListResponse} returns this
3610
3703
  */
3611
- proto.wechaty.puppet.TagTagListResponse.prototype.clearPayloadsList = function() {
3612
- return this.setPayloadsList([]);
3704
+ proto.wechaty.puppet.TagTagListResponse.prototype.clearTagsList = function() {
3705
+ return this.setTagsList([]);
3613
3706
  };
3614
3707
 
3615
3708
 
@@ -3782,8 +3875,8 @@ proto.wechaty.puppet.TagContactTagListResponse.prototype.toObject = function(opt
3782
3875
  */
3783
3876
  proto.wechaty.puppet.TagContactTagListResponse.toObject = function(includeInstance, msg) {
3784
3877
  var f, obj = {
3785
- payloadsList: jspb.Message.toObjectList(msg.getPayloadsList(),
3786
- proto.wechaty.puppet.TagPayload.toObject, includeInstance)
3878
+ tagsList: jspb.Message.toObjectList(msg.getTagsList(),
3879
+ proto.wechaty.puppet.TagIdentifier.toObject, includeInstance)
3787
3880
  };
3788
3881
 
3789
3882
  if (includeInstance) {
@@ -3821,9 +3914,9 @@ proto.wechaty.puppet.TagContactTagListResponse.deserializeBinaryFromReader = fun
3821
3914
  var field = reader.getFieldNumber();
3822
3915
  switch (field) {
3823
3916
  case 1:
3824
- var value = new proto.wechaty.puppet.TagPayload;
3825
- reader.readMessage(value,proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader);
3826
- msg.addPayloads(value);
3917
+ var value = new proto.wechaty.puppet.TagIdentifier;
3918
+ reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
3919
+ msg.addTags(value);
3827
3920
  break;
3828
3921
  default:
3829
3922
  reader.skipField();
@@ -3854,43 +3947,43 @@ proto.wechaty.puppet.TagContactTagListResponse.prototype.serializeBinary = funct
3854
3947
  */
3855
3948
  proto.wechaty.puppet.TagContactTagListResponse.serializeBinaryToWriter = function(message, writer) {
3856
3949
  var f = undefined;
3857
- f = message.getPayloadsList();
3950
+ f = message.getTagsList();
3858
3951
  if (f.length > 0) {
3859
3952
  writer.writeRepeatedMessage(
3860
3953
  1,
3861
3954
  f,
3862
- proto.wechaty.puppet.TagPayload.serializeBinaryToWriter
3955
+ proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
3863
3956
  );
3864
3957
  }
3865
3958
  };
3866
3959
 
3867
3960
 
3868
3961
  /**
3869
- * repeated TagPayload payloads = 1;
3870
- * @return {!Array<!proto.wechaty.puppet.TagPayload>}
3962
+ * repeated TagIdentifier tags = 1;
3963
+ * @return {!Array<!proto.wechaty.puppet.TagIdentifier>}
3871
3964
  */
3872
- proto.wechaty.puppet.TagContactTagListResponse.prototype.getPayloadsList = function() {
3873
- return /** @type{!Array<!proto.wechaty.puppet.TagPayload>} */ (
3874
- jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagPayload, 1));
3965
+ proto.wechaty.puppet.TagContactTagListResponse.prototype.getTagsList = function() {
3966
+ return /** @type{!Array<!proto.wechaty.puppet.TagIdentifier>} */ (
3967
+ jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagIdentifier, 1));
3875
3968
  };
3876
3969
 
3877
3970
 
3878
3971
  /**
3879
- * @param {!Array<!proto.wechaty.puppet.TagPayload>} value
3972
+ * @param {!Array<!proto.wechaty.puppet.TagIdentifier>} value
3880
3973
  * @return {!proto.wechaty.puppet.TagContactTagListResponse} returns this
3881
3974
  */
3882
- proto.wechaty.puppet.TagContactTagListResponse.prototype.setPayloadsList = function(value) {
3975
+ proto.wechaty.puppet.TagContactTagListResponse.prototype.setTagsList = function(value) {
3883
3976
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
3884
3977
  };
3885
3978
 
3886
3979
 
3887
3980
  /**
3888
- * @param {!proto.wechaty.puppet.TagPayload=} opt_value
3981
+ * @param {!proto.wechaty.puppet.TagIdentifier=} opt_value
3889
3982
  * @param {number=} opt_index
3890
- * @return {!proto.wechaty.puppet.TagPayload}
3983
+ * @return {!proto.wechaty.puppet.TagIdentifier}
3891
3984
  */
3892
- proto.wechaty.puppet.TagContactTagListResponse.prototype.addPayloads = function(opt_value, opt_index) {
3893
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagPayload, opt_index);
3985
+ proto.wechaty.puppet.TagContactTagListResponse.prototype.addTags = function(opt_value, opt_index) {
3986
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagIdentifier, opt_index);
3894
3987
  };
3895
3988
 
3896
3989
 
@@ -3898,8 +3991,8 @@ proto.wechaty.puppet.TagContactTagListResponse.prototype.addPayloads = function(
3898
3991
  * Clears the list making it empty but non-null.
3899
3992
  * @return {!proto.wechaty.puppet.TagContactTagListResponse} returns this
3900
3993
  */
3901
- proto.wechaty.puppet.TagContactTagListResponse.prototype.clearPayloadsList = function() {
3902
- return this.setPayloadsList([]);
3994
+ proto.wechaty.puppet.TagContactTagListResponse.prototype.clearTagsList = function() {
3995
+ return this.setTagsList([]);
3903
3996
  };
3904
3997
 
3905
3998
 
@@ -4093,7 +4186,7 @@ proto.wechaty.puppet.TagTagContactListResponse.prototype.toObject = function(opt
4093
4186
  */
4094
4187
  proto.wechaty.puppet.TagTagContactListResponse.toObject = function(includeInstance, msg) {
4095
4188
  var f, obj = {
4096
- payloadsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
4189
+ contactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
4097
4190
  };
4098
4191
 
4099
4192
  if (includeInstance) {
@@ -4132,7 +4225,7 @@ proto.wechaty.puppet.TagTagContactListResponse.deserializeBinaryFromReader = fun
4132
4225
  switch (field) {
4133
4226
  case 1:
4134
4227
  var value = /** @type {string} */ (reader.readString());
4135
- msg.addPayloads(value);
4228
+ msg.addContactIds(value);
4136
4229
  break;
4137
4230
  default:
4138
4231
  reader.skipField();
@@ -4163,7 +4256,7 @@ proto.wechaty.puppet.TagTagContactListResponse.prototype.serializeBinary = funct
4163
4256
  */
4164
4257
  proto.wechaty.puppet.TagTagContactListResponse.serializeBinaryToWriter = function(message, writer) {
4165
4258
  var f = undefined;
4166
- f = message.getPayloadsList();
4259
+ f = message.getContactIdsList();
4167
4260
  if (f.length > 0) {
4168
4261
  writer.writeRepeatedString(
4169
4262
  1,
@@ -4174,10 +4267,10 @@ proto.wechaty.puppet.TagTagContactListResponse.serializeBinaryToWriter = functio
4174
4267
 
4175
4268
 
4176
4269
  /**
4177
- * repeated string payloads = 1;
4270
+ * repeated string contact_ids = 1;
4178
4271
  * @return {!Array<string>}
4179
4272
  */
4180
- proto.wechaty.puppet.TagTagContactListResponse.prototype.getPayloadsList = function() {
4273
+ proto.wechaty.puppet.TagTagContactListResponse.prototype.getContactIdsList = function() {
4181
4274
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
4182
4275
  };
4183
4276
 
@@ -4186,7 +4279,7 @@ proto.wechaty.puppet.TagTagContactListResponse.prototype.getPayloadsList = funct
4186
4279
  * @param {!Array<string>} value
4187
4280
  * @return {!proto.wechaty.puppet.TagTagContactListResponse} returns this
4188
4281
  */
4189
- proto.wechaty.puppet.TagTagContactListResponse.prototype.setPayloadsList = function(value) {
4282
+ proto.wechaty.puppet.TagTagContactListResponse.prototype.setContactIdsList = function(value) {
4190
4283
  return jspb.Message.setField(this, 1, value || []);
4191
4284
  };
4192
4285
 
@@ -4196,7 +4289,7 @@ proto.wechaty.puppet.TagTagContactListResponse.prototype.setPayloadsList = funct
4196
4289
  * @param {number=} opt_index
4197
4290
  * @return {!proto.wechaty.puppet.TagTagContactListResponse} returns this
4198
4291
  */
4199
- proto.wechaty.puppet.TagTagContactListResponse.prototype.addPayloads = function(value, opt_index) {
4292
+ proto.wechaty.puppet.TagTagContactListResponse.prototype.addContactIds = function(value, opt_index) {
4200
4293
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
4201
4294
  };
4202
4295
 
@@ -4205,8 +4298,591 @@ proto.wechaty.puppet.TagTagContactListResponse.prototype.addPayloads = function(
4205
4298
  * Clears the list making it empty but non-null.
4206
4299
  * @return {!proto.wechaty.puppet.TagTagContactListResponse} returns this
4207
4300
  */
4208
- proto.wechaty.puppet.TagTagContactListResponse.prototype.clearPayloadsList = function() {
4209
- return this.setPayloadsList([]);
4301
+ proto.wechaty.puppet.TagTagContactListResponse.prototype.clearContactIdsList = function() {
4302
+ return this.setContactIdsList([]);
4303
+ };
4304
+
4305
+
4306
+
4307
+
4308
+
4309
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4310
+ /**
4311
+ * Creates an object representation of this proto.
4312
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4313
+ * Optional fields that are not set will be set to undefined.
4314
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4315
+ * For the list of reserved names please see:
4316
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4317
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4318
+ * JSPB instance for transitional soy proto support:
4319
+ * http://goto/soy-param-migration
4320
+ * @return {!Object}
4321
+ */
4322
+ proto.wechaty.puppet.TagGroupPayloadRequest.prototype.toObject = function(opt_includeInstance) {
4323
+ return proto.wechaty.puppet.TagGroupPayloadRequest.toObject(opt_includeInstance, this);
4324
+ };
4325
+
4326
+
4327
+ /**
4328
+ * Static version of the {@see toObject} method.
4329
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4330
+ * the JSPB instance for transitional soy proto support:
4331
+ * http://goto/soy-param-migration
4332
+ * @param {!proto.wechaty.puppet.TagGroupPayloadRequest} msg The msg instance to transform.
4333
+ * @return {!Object}
4334
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4335
+ */
4336
+ proto.wechaty.puppet.TagGroupPayloadRequest.toObject = function(includeInstance, msg) {
4337
+ var f, obj = {
4338
+ groupId: jspb.Message.getFieldWithDefault(msg, 1, "")
4339
+ };
4340
+
4341
+ if (includeInstance) {
4342
+ obj.$jspbMessageInstance = msg;
4343
+ }
4344
+ return obj;
4345
+ };
4346
+ }
4347
+
4348
+
4349
+ /**
4350
+ * Deserializes binary data (in protobuf wire format).
4351
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4352
+ * @return {!proto.wechaty.puppet.TagGroupPayloadRequest}
4353
+ */
4354
+ proto.wechaty.puppet.TagGroupPayloadRequest.deserializeBinary = function(bytes) {
4355
+ var reader = new jspb.BinaryReader(bytes);
4356
+ var msg = new proto.wechaty.puppet.TagGroupPayloadRequest;
4357
+ return proto.wechaty.puppet.TagGroupPayloadRequest.deserializeBinaryFromReader(msg, reader);
4358
+ };
4359
+
4360
+
4361
+ /**
4362
+ * Deserializes binary data (in protobuf wire format) from the
4363
+ * given reader into the given message object.
4364
+ * @param {!proto.wechaty.puppet.TagGroupPayloadRequest} msg The message object to deserialize into.
4365
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4366
+ * @return {!proto.wechaty.puppet.TagGroupPayloadRequest}
4367
+ */
4368
+ proto.wechaty.puppet.TagGroupPayloadRequest.deserializeBinaryFromReader = function(msg, reader) {
4369
+ while (reader.nextField()) {
4370
+ if (reader.isEndGroup()) {
4371
+ break;
4372
+ }
4373
+ var field = reader.getFieldNumber();
4374
+ switch (field) {
4375
+ case 1:
4376
+ var value = /** @type {string} */ (reader.readString());
4377
+ msg.setGroupId(value);
4378
+ break;
4379
+ default:
4380
+ reader.skipField();
4381
+ break;
4382
+ }
4383
+ }
4384
+ return msg;
4385
+ };
4386
+
4387
+
4388
+ /**
4389
+ * Serializes the message to binary data (in protobuf wire format).
4390
+ * @return {!Uint8Array}
4391
+ */
4392
+ proto.wechaty.puppet.TagGroupPayloadRequest.prototype.serializeBinary = function() {
4393
+ var writer = new jspb.BinaryWriter();
4394
+ proto.wechaty.puppet.TagGroupPayloadRequest.serializeBinaryToWriter(this, writer);
4395
+ return writer.getResultBuffer();
4396
+ };
4397
+
4398
+
4399
+ /**
4400
+ * Serializes the given message to binary data (in protobuf wire
4401
+ * format), writing to the given BinaryWriter.
4402
+ * @param {!proto.wechaty.puppet.TagGroupPayloadRequest} message
4403
+ * @param {!jspb.BinaryWriter} writer
4404
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4405
+ */
4406
+ proto.wechaty.puppet.TagGroupPayloadRequest.serializeBinaryToWriter = function(message, writer) {
4407
+ var f = undefined;
4408
+ f = message.getGroupId();
4409
+ if (f.length > 0) {
4410
+ writer.writeString(
4411
+ 1,
4412
+ f
4413
+ );
4414
+ }
4415
+ };
4416
+
4417
+
4418
+ /**
4419
+ * optional string group_id = 1;
4420
+ * @return {string}
4421
+ */
4422
+ proto.wechaty.puppet.TagGroupPayloadRequest.prototype.getGroupId = function() {
4423
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4424
+ };
4425
+
4426
+
4427
+ /**
4428
+ * @param {string} value
4429
+ * @return {!proto.wechaty.puppet.TagGroupPayloadRequest} returns this
4430
+ */
4431
+ proto.wechaty.puppet.TagGroupPayloadRequest.prototype.setGroupId = function(value) {
4432
+ return jspb.Message.setProto3StringField(this, 1, value);
4433
+ };
4434
+
4435
+
4436
+
4437
+
4438
+
4439
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4440
+ /**
4441
+ * Creates an object representation of this proto.
4442
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4443
+ * Optional fields that are not set will be set to undefined.
4444
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4445
+ * For the list of reserved names please see:
4446
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4447
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4448
+ * JSPB instance for transitional soy proto support:
4449
+ * http://goto/soy-param-migration
4450
+ * @return {!Object}
4451
+ */
4452
+ proto.wechaty.puppet.TagGroupPayloadResponse.prototype.toObject = function(opt_includeInstance) {
4453
+ return proto.wechaty.puppet.TagGroupPayloadResponse.toObject(opt_includeInstance, this);
4454
+ };
4455
+
4456
+
4457
+ /**
4458
+ * Static version of the {@see toObject} method.
4459
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4460
+ * the JSPB instance for transitional soy proto support:
4461
+ * http://goto/soy-param-migration
4462
+ * @param {!proto.wechaty.puppet.TagGroupPayloadResponse} msg The msg instance to transform.
4463
+ * @return {!Object}
4464
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4465
+ */
4466
+ proto.wechaty.puppet.TagGroupPayloadResponse.toObject = function(includeInstance, msg) {
4467
+ var f, obj = {
4468
+ payload: (f = msg.getPayload()) && proto.wechaty.puppet.TagGroupPayload.toObject(includeInstance, f)
4469
+ };
4470
+
4471
+ if (includeInstance) {
4472
+ obj.$jspbMessageInstance = msg;
4473
+ }
4474
+ return obj;
4475
+ };
4476
+ }
4477
+
4478
+
4479
+ /**
4480
+ * Deserializes binary data (in protobuf wire format).
4481
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4482
+ * @return {!proto.wechaty.puppet.TagGroupPayloadResponse}
4483
+ */
4484
+ proto.wechaty.puppet.TagGroupPayloadResponse.deserializeBinary = function(bytes) {
4485
+ var reader = new jspb.BinaryReader(bytes);
4486
+ var msg = new proto.wechaty.puppet.TagGroupPayloadResponse;
4487
+ return proto.wechaty.puppet.TagGroupPayloadResponse.deserializeBinaryFromReader(msg, reader);
4488
+ };
4489
+
4490
+
4491
+ /**
4492
+ * Deserializes binary data (in protobuf wire format) from the
4493
+ * given reader into the given message object.
4494
+ * @param {!proto.wechaty.puppet.TagGroupPayloadResponse} msg The message object to deserialize into.
4495
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4496
+ * @return {!proto.wechaty.puppet.TagGroupPayloadResponse}
4497
+ */
4498
+ proto.wechaty.puppet.TagGroupPayloadResponse.deserializeBinaryFromReader = function(msg, reader) {
4499
+ while (reader.nextField()) {
4500
+ if (reader.isEndGroup()) {
4501
+ break;
4502
+ }
4503
+ var field = reader.getFieldNumber();
4504
+ switch (field) {
4505
+ case 1:
4506
+ var value = new proto.wechaty.puppet.TagGroupPayload;
4507
+ reader.readMessage(value,proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader);
4508
+ msg.setPayload(value);
4509
+ break;
4510
+ default:
4511
+ reader.skipField();
4512
+ break;
4513
+ }
4514
+ }
4515
+ return msg;
4516
+ };
4517
+
4518
+
4519
+ /**
4520
+ * Serializes the message to binary data (in protobuf wire format).
4521
+ * @return {!Uint8Array}
4522
+ */
4523
+ proto.wechaty.puppet.TagGroupPayloadResponse.prototype.serializeBinary = function() {
4524
+ var writer = new jspb.BinaryWriter();
4525
+ proto.wechaty.puppet.TagGroupPayloadResponse.serializeBinaryToWriter(this, writer);
4526
+ return writer.getResultBuffer();
4527
+ };
4528
+
4529
+
4530
+ /**
4531
+ * Serializes the given message to binary data (in protobuf wire
4532
+ * format), writing to the given BinaryWriter.
4533
+ * @param {!proto.wechaty.puppet.TagGroupPayloadResponse} message
4534
+ * @param {!jspb.BinaryWriter} writer
4535
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4536
+ */
4537
+ proto.wechaty.puppet.TagGroupPayloadResponse.serializeBinaryToWriter = function(message, writer) {
4538
+ var f = undefined;
4539
+ f = message.getPayload();
4540
+ if (f != null) {
4541
+ writer.writeMessage(
4542
+ 1,
4543
+ f,
4544
+ proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter
4545
+ );
4546
+ }
4547
+ };
4548
+
4549
+
4550
+ /**
4551
+ * optional TagGroupPayload payload = 1;
4552
+ * @return {?proto.wechaty.puppet.TagGroupPayload}
4553
+ */
4554
+ proto.wechaty.puppet.TagGroupPayloadResponse.prototype.getPayload = function() {
4555
+ return /** @type{?proto.wechaty.puppet.TagGroupPayload} */ (
4556
+ jspb.Message.getWrapperField(this, proto.wechaty.puppet.TagGroupPayload, 1));
4557
+ };
4558
+
4559
+
4560
+ /**
4561
+ * @param {?proto.wechaty.puppet.TagGroupPayload|undefined} value
4562
+ * @return {!proto.wechaty.puppet.TagGroupPayloadResponse} returns this
4563
+ */
4564
+ proto.wechaty.puppet.TagGroupPayloadResponse.prototype.setPayload = function(value) {
4565
+ return jspb.Message.setWrapperField(this, 1, value);
4566
+ };
4567
+
4568
+
4569
+ /**
4570
+ * Clears the message field making it undefined.
4571
+ * @return {!proto.wechaty.puppet.TagGroupPayloadResponse} returns this
4572
+ */
4573
+ proto.wechaty.puppet.TagGroupPayloadResponse.prototype.clearPayload = function() {
4574
+ return this.setPayload(undefined);
4575
+ };
4576
+
4577
+
4578
+ /**
4579
+ * Returns whether this field is set.
4580
+ * @return {boolean}
4581
+ */
4582
+ proto.wechaty.puppet.TagGroupPayloadResponse.prototype.hasPayload = function() {
4583
+ return jspb.Message.getField(this, 1) != null;
4584
+ };
4585
+
4586
+
4587
+
4588
+
4589
+
4590
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4591
+ /**
4592
+ * Creates an object representation of this proto.
4593
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4594
+ * Optional fields that are not set will be set to undefined.
4595
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4596
+ * For the list of reserved names please see:
4597
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4598
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4599
+ * JSPB instance for transitional soy proto support:
4600
+ * http://goto/soy-param-migration
4601
+ * @return {!Object}
4602
+ */
4603
+ proto.wechaty.puppet.TagPayloadRequest.prototype.toObject = function(opt_includeInstance) {
4604
+ return proto.wechaty.puppet.TagPayloadRequest.toObject(opt_includeInstance, this);
4605
+ };
4606
+
4607
+
4608
+ /**
4609
+ * Static version of the {@see toObject} method.
4610
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4611
+ * the JSPB instance for transitional soy proto support:
4612
+ * http://goto/soy-param-migration
4613
+ * @param {!proto.wechaty.puppet.TagPayloadRequest} msg The msg instance to transform.
4614
+ * @return {!Object}
4615
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4616
+ */
4617
+ proto.wechaty.puppet.TagPayloadRequest.toObject = function(includeInstance, msg) {
4618
+ var f, obj = {
4619
+ tag: (f = msg.getTag()) && proto.wechaty.puppet.TagIdentifier.toObject(includeInstance, f)
4620
+ };
4621
+
4622
+ if (includeInstance) {
4623
+ obj.$jspbMessageInstance = msg;
4624
+ }
4625
+ return obj;
4626
+ };
4627
+ }
4628
+
4629
+
4630
+ /**
4631
+ * Deserializes binary data (in protobuf wire format).
4632
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4633
+ * @return {!proto.wechaty.puppet.TagPayloadRequest}
4634
+ */
4635
+ proto.wechaty.puppet.TagPayloadRequest.deserializeBinary = function(bytes) {
4636
+ var reader = new jspb.BinaryReader(bytes);
4637
+ var msg = new proto.wechaty.puppet.TagPayloadRequest;
4638
+ return proto.wechaty.puppet.TagPayloadRequest.deserializeBinaryFromReader(msg, reader);
4639
+ };
4640
+
4641
+
4642
+ /**
4643
+ * Deserializes binary data (in protobuf wire format) from the
4644
+ * given reader into the given message object.
4645
+ * @param {!proto.wechaty.puppet.TagPayloadRequest} msg The message object to deserialize into.
4646
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4647
+ * @return {!proto.wechaty.puppet.TagPayloadRequest}
4648
+ */
4649
+ proto.wechaty.puppet.TagPayloadRequest.deserializeBinaryFromReader = function(msg, reader) {
4650
+ while (reader.nextField()) {
4651
+ if (reader.isEndGroup()) {
4652
+ break;
4653
+ }
4654
+ var field = reader.getFieldNumber();
4655
+ switch (field) {
4656
+ case 1:
4657
+ var value = new proto.wechaty.puppet.TagIdentifier;
4658
+ reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
4659
+ msg.setTag(value);
4660
+ break;
4661
+ default:
4662
+ reader.skipField();
4663
+ break;
4664
+ }
4665
+ }
4666
+ return msg;
4667
+ };
4668
+
4669
+
4670
+ /**
4671
+ * Serializes the message to binary data (in protobuf wire format).
4672
+ * @return {!Uint8Array}
4673
+ */
4674
+ proto.wechaty.puppet.TagPayloadRequest.prototype.serializeBinary = function() {
4675
+ var writer = new jspb.BinaryWriter();
4676
+ proto.wechaty.puppet.TagPayloadRequest.serializeBinaryToWriter(this, writer);
4677
+ return writer.getResultBuffer();
4678
+ };
4679
+
4680
+
4681
+ /**
4682
+ * Serializes the given message to binary data (in protobuf wire
4683
+ * format), writing to the given BinaryWriter.
4684
+ * @param {!proto.wechaty.puppet.TagPayloadRequest} message
4685
+ * @param {!jspb.BinaryWriter} writer
4686
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4687
+ */
4688
+ proto.wechaty.puppet.TagPayloadRequest.serializeBinaryToWriter = function(message, writer) {
4689
+ var f = undefined;
4690
+ f = message.getTag();
4691
+ if (f != null) {
4692
+ writer.writeMessage(
4693
+ 1,
4694
+ f,
4695
+ proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
4696
+ );
4697
+ }
4698
+ };
4699
+
4700
+
4701
+ /**
4702
+ * optional TagIdentifier tag = 1;
4703
+ * @return {?proto.wechaty.puppet.TagIdentifier}
4704
+ */
4705
+ proto.wechaty.puppet.TagPayloadRequest.prototype.getTag = function() {
4706
+ return /** @type{?proto.wechaty.puppet.TagIdentifier} */ (
4707
+ jspb.Message.getWrapperField(this, proto.wechaty.puppet.TagIdentifier, 1));
4708
+ };
4709
+
4710
+
4711
+ /**
4712
+ * @param {?proto.wechaty.puppet.TagIdentifier|undefined} value
4713
+ * @return {!proto.wechaty.puppet.TagPayloadRequest} returns this
4714
+ */
4715
+ proto.wechaty.puppet.TagPayloadRequest.prototype.setTag = function(value) {
4716
+ return jspb.Message.setWrapperField(this, 1, value);
4717
+ };
4718
+
4719
+
4720
+ /**
4721
+ * Clears the message field making it undefined.
4722
+ * @return {!proto.wechaty.puppet.TagPayloadRequest} returns this
4723
+ */
4724
+ proto.wechaty.puppet.TagPayloadRequest.prototype.clearTag = function() {
4725
+ return this.setTag(undefined);
4726
+ };
4727
+
4728
+
4729
+ /**
4730
+ * Returns whether this field is set.
4731
+ * @return {boolean}
4732
+ */
4733
+ proto.wechaty.puppet.TagPayloadRequest.prototype.hasTag = function() {
4734
+ return jspb.Message.getField(this, 1) != null;
4735
+ };
4736
+
4737
+
4738
+
4739
+
4740
+
4741
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4742
+ /**
4743
+ * Creates an object representation of this proto.
4744
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4745
+ * Optional fields that are not set will be set to undefined.
4746
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4747
+ * For the list of reserved names please see:
4748
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4749
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4750
+ * JSPB instance for transitional soy proto support:
4751
+ * http://goto/soy-param-migration
4752
+ * @return {!Object}
4753
+ */
4754
+ proto.wechaty.puppet.TagPayloadResponse.prototype.toObject = function(opt_includeInstance) {
4755
+ return proto.wechaty.puppet.TagPayloadResponse.toObject(opt_includeInstance, this);
4756
+ };
4757
+
4758
+
4759
+ /**
4760
+ * Static version of the {@see toObject} method.
4761
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4762
+ * the JSPB instance for transitional soy proto support:
4763
+ * http://goto/soy-param-migration
4764
+ * @param {!proto.wechaty.puppet.TagPayloadResponse} msg The msg instance to transform.
4765
+ * @return {!Object}
4766
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4767
+ */
4768
+ proto.wechaty.puppet.TagPayloadResponse.toObject = function(includeInstance, msg) {
4769
+ var f, obj = {
4770
+ payload: (f = msg.getPayload()) && proto.wechaty.puppet.TagPayload.toObject(includeInstance, f)
4771
+ };
4772
+
4773
+ if (includeInstance) {
4774
+ obj.$jspbMessageInstance = msg;
4775
+ }
4776
+ return obj;
4777
+ };
4778
+ }
4779
+
4780
+
4781
+ /**
4782
+ * Deserializes binary data (in protobuf wire format).
4783
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4784
+ * @return {!proto.wechaty.puppet.TagPayloadResponse}
4785
+ */
4786
+ proto.wechaty.puppet.TagPayloadResponse.deserializeBinary = function(bytes) {
4787
+ var reader = new jspb.BinaryReader(bytes);
4788
+ var msg = new proto.wechaty.puppet.TagPayloadResponse;
4789
+ return proto.wechaty.puppet.TagPayloadResponse.deserializeBinaryFromReader(msg, reader);
4790
+ };
4791
+
4792
+
4793
+ /**
4794
+ * Deserializes binary data (in protobuf wire format) from the
4795
+ * given reader into the given message object.
4796
+ * @param {!proto.wechaty.puppet.TagPayloadResponse} msg The message object to deserialize into.
4797
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4798
+ * @return {!proto.wechaty.puppet.TagPayloadResponse}
4799
+ */
4800
+ proto.wechaty.puppet.TagPayloadResponse.deserializeBinaryFromReader = function(msg, reader) {
4801
+ while (reader.nextField()) {
4802
+ if (reader.isEndGroup()) {
4803
+ break;
4804
+ }
4805
+ var field = reader.getFieldNumber();
4806
+ switch (field) {
4807
+ case 1:
4808
+ var value = new proto.wechaty.puppet.TagPayload;
4809
+ reader.readMessage(value,proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader);
4810
+ msg.setPayload(value);
4811
+ break;
4812
+ default:
4813
+ reader.skipField();
4814
+ break;
4815
+ }
4816
+ }
4817
+ return msg;
4818
+ };
4819
+
4820
+
4821
+ /**
4822
+ * Serializes the message to binary data (in protobuf wire format).
4823
+ * @return {!Uint8Array}
4824
+ */
4825
+ proto.wechaty.puppet.TagPayloadResponse.prototype.serializeBinary = function() {
4826
+ var writer = new jspb.BinaryWriter();
4827
+ proto.wechaty.puppet.TagPayloadResponse.serializeBinaryToWriter(this, writer);
4828
+ return writer.getResultBuffer();
4829
+ };
4830
+
4831
+
4832
+ /**
4833
+ * Serializes the given message to binary data (in protobuf wire
4834
+ * format), writing to the given BinaryWriter.
4835
+ * @param {!proto.wechaty.puppet.TagPayloadResponse} message
4836
+ * @param {!jspb.BinaryWriter} writer
4837
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4838
+ */
4839
+ proto.wechaty.puppet.TagPayloadResponse.serializeBinaryToWriter = function(message, writer) {
4840
+ var f = undefined;
4841
+ f = message.getPayload();
4842
+ if (f != null) {
4843
+ writer.writeMessage(
4844
+ 1,
4845
+ f,
4846
+ proto.wechaty.puppet.TagPayload.serializeBinaryToWriter
4847
+ );
4848
+ }
4849
+ };
4850
+
4851
+
4852
+ /**
4853
+ * optional TagPayload payload = 1;
4854
+ * @return {?proto.wechaty.puppet.TagPayload}
4855
+ */
4856
+ proto.wechaty.puppet.TagPayloadResponse.prototype.getPayload = function() {
4857
+ return /** @type{?proto.wechaty.puppet.TagPayload} */ (
4858
+ jspb.Message.getWrapperField(this, proto.wechaty.puppet.TagPayload, 1));
4859
+ };
4860
+
4861
+
4862
+ /**
4863
+ * @param {?proto.wechaty.puppet.TagPayload|undefined} value
4864
+ * @return {!proto.wechaty.puppet.TagPayloadResponse} returns this
4865
+ */
4866
+ proto.wechaty.puppet.TagPayloadResponse.prototype.setPayload = function(value) {
4867
+ return jspb.Message.setWrapperField(this, 1, value);
4868
+ };
4869
+
4870
+
4871
+ /**
4872
+ * Clears the message field making it undefined.
4873
+ * @return {!proto.wechaty.puppet.TagPayloadResponse} returns this
4874
+ */
4875
+ proto.wechaty.puppet.TagPayloadResponse.prototype.clearPayload = function() {
4876
+ return this.setPayload(undefined);
4877
+ };
4878
+
4879
+
4880
+ /**
4881
+ * Returns whether this field is set.
4882
+ * @return {boolean}
4883
+ */
4884
+ proto.wechaty.puppet.TagPayloadResponse.prototype.hasPayload = function() {
4885
+ return jspb.Message.getField(this, 1) != null;
4210
4886
  };
4211
4887
 
4212
4888