@juzi/wechaty-grpc 1.0.11 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +6 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +58 -2
- package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +181 -73
- package/dist/cjs/out/wechaty/puppet/tag_pb.js +1472 -594
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +216 -112
- package/dist/cjs/out/wechaty/puppet.swagger.json +312 -144
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +66 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +80 -0
- package/dist/cjs/proto/wechaty/puppet/event.proto +1 -0
- package/dist/cjs/proto/wechaty/puppet/room.proto +14 -13
- package/dist/cjs/proto/wechaty/puppet/tag.proto +39 -21
- package/dist/cjs/proto/wechaty/puppet.proto +29 -9
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +10 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +6 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +58 -2
- package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +181 -73
- package/dist/esm/out/wechaty/puppet/tag_pb.js +1472 -594
- package/dist/esm/out/wechaty/puppet.openapi.yaml +216 -112
- package/dist/esm/out/wechaty/puppet.swagger.json +312 -144
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +66 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +80 -0
- package/dist/esm/proto/wechaty/puppet/event.proto +1 -0
- package/dist/esm/proto/wechaty/puppet/room.proto +14 -13
- package/dist/esm/proto/wechaty/puppet/tag.proto +39 -21
- package/dist/esm/proto/wechaty/puppet.proto +29 -9
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +10 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/out/wechaty/puppet/event_pb.js +2 -1
- package/out/wechaty/puppet/room_pb.d.ts +6 -0
- package/out/wechaty/puppet/room_pb.js +58 -2
- package/out/wechaty/puppet/tag_pb.d.ts +181 -73
- package/out/wechaty/puppet/tag_pb.js +1472 -594
- package/out/wechaty/puppet.openapi.yaml +216 -112
- package/out/wechaty/puppet.swagger.json +312 -144
- package/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/out/wechaty/puppet_grpc_pb.js +66 -0
- package/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/out/wechaty/puppet_pb_service.js +80 -0
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -28,9 +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);
|
|
35
|
+
goog.exportSymbol('proto.wechaty.puppet.TagIdentifier', null, global);
|
|
33
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);
|
|
34
39
|
goog.exportSymbol('proto.wechaty.puppet.TagTagAddRequest', null, global);
|
|
35
40
|
goog.exportSymbol('proto.wechaty.puppet.TagTagAddResponse', null, global);
|
|
36
41
|
goog.exportSymbol('proto.wechaty.puppet.TagTagContactListRequest', null, global);
|
|
@@ -61,6 +66,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
61
66
|
*/
|
|
62
67
|
proto.wechaty.puppet.TagPayload.displayName = 'proto.wechaty.puppet.TagPayload';
|
|
63
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* Generated by JsPbCodeGenerator.
|
|
71
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
72
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
73
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
74
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
75
|
+
* valid.
|
|
76
|
+
* @extends {jspb.Message}
|
|
77
|
+
* @constructor
|
|
78
|
+
*/
|
|
79
|
+
proto.wechaty.puppet.TagIdentifier = function(opt_data) {
|
|
80
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
81
|
+
};
|
|
82
|
+
goog.inherits(proto.wechaty.puppet.TagIdentifier, jspb.Message);
|
|
83
|
+
if (goog.DEBUG && !COMPILED) {
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
* @override
|
|
87
|
+
*/
|
|
88
|
+
proto.wechaty.puppet.TagIdentifier.displayName = 'proto.wechaty.puppet.TagIdentifier';
|
|
89
|
+
}
|
|
64
90
|
/**
|
|
65
91
|
* Generated by JsPbCodeGenerator.
|
|
66
92
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -93,7 +119,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
93
119
|
* @constructor
|
|
94
120
|
*/
|
|
95
121
|
proto.wechaty.puppet.TagContactTagAddRequest = function(opt_data) {
|
|
96
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
122
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagContactTagAddRequest.repeatedFields_, null);
|
|
97
123
|
};
|
|
98
124
|
goog.inherits(proto.wechaty.puppet.TagContactTagAddRequest, jspb.Message);
|
|
99
125
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -135,7 +161,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
135
161
|
* @constructor
|
|
136
162
|
*/
|
|
137
163
|
proto.wechaty.puppet.TagContactTagRemoveRequest = function(opt_data) {
|
|
138
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
164
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagContactTagRemoveRequest.repeatedFields_, null);
|
|
139
165
|
};
|
|
140
166
|
goog.inherits(proto.wechaty.puppet.TagContactTagRemoveRequest, jspb.Message);
|
|
141
167
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -544,6 +570,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
544
570
|
*/
|
|
545
571
|
proto.wechaty.puppet.TagTagContactListResponse.displayName = 'proto.wechaty.puppet.TagTagContactListResponse';
|
|
546
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
|
+
}
|
|
547
657
|
|
|
548
658
|
|
|
549
659
|
|
|
@@ -780,8 +890,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
780
890
|
* http://goto/soy-param-migration
|
|
781
891
|
* @return {!Object}
|
|
782
892
|
*/
|
|
783
|
-
proto.wechaty.puppet.
|
|
784
|
-
return proto.wechaty.puppet.
|
|
893
|
+
proto.wechaty.puppet.TagIdentifier.prototype.toObject = function(opt_includeInstance) {
|
|
894
|
+
return proto.wechaty.puppet.TagIdentifier.toObject(opt_includeInstance, this);
|
|
785
895
|
};
|
|
786
896
|
|
|
787
897
|
|
|
@@ -790,14 +900,14 @@ proto.wechaty.puppet.TagGroupPayload.prototype.toObject = function(opt_includeIn
|
|
|
790
900
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
791
901
|
* the JSPB instance for transitional soy proto support:
|
|
792
902
|
* http://goto/soy-param-migration
|
|
793
|
-
* @param {!proto.wechaty.puppet.
|
|
903
|
+
* @param {!proto.wechaty.puppet.TagIdentifier} msg The msg instance to transform.
|
|
794
904
|
* @return {!Object}
|
|
795
905
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
796
906
|
*/
|
|
797
|
-
proto.wechaty.puppet.
|
|
907
|
+
proto.wechaty.puppet.TagIdentifier.toObject = function(includeInstance, msg) {
|
|
798
908
|
var f, obj = {
|
|
799
909
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
800
|
-
|
|
910
|
+
groupId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
801
911
|
};
|
|
802
912
|
|
|
803
913
|
if (includeInstance) {
|
|
@@ -811,23 +921,23 @@ proto.wechaty.puppet.TagGroupPayload.toObject = function(includeInstance, msg) {
|
|
|
811
921
|
/**
|
|
812
922
|
* Deserializes binary data (in protobuf wire format).
|
|
813
923
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
814
|
-
* @return {!proto.wechaty.puppet.
|
|
924
|
+
* @return {!proto.wechaty.puppet.TagIdentifier}
|
|
815
925
|
*/
|
|
816
|
-
proto.wechaty.puppet.
|
|
926
|
+
proto.wechaty.puppet.TagIdentifier.deserializeBinary = function(bytes) {
|
|
817
927
|
var reader = new jspb.BinaryReader(bytes);
|
|
818
|
-
var msg = new proto.wechaty.puppet.
|
|
819
|
-
return proto.wechaty.puppet.
|
|
928
|
+
var msg = new proto.wechaty.puppet.TagIdentifier;
|
|
929
|
+
return proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader(msg, reader);
|
|
820
930
|
};
|
|
821
931
|
|
|
822
932
|
|
|
823
933
|
/**
|
|
824
934
|
* Deserializes binary data (in protobuf wire format) from the
|
|
825
935
|
* given reader into the given message object.
|
|
826
|
-
* @param {!proto.wechaty.puppet.
|
|
936
|
+
* @param {!proto.wechaty.puppet.TagIdentifier} msg The message object to deserialize into.
|
|
827
937
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
828
|
-
* @return {!proto.wechaty.puppet.
|
|
938
|
+
* @return {!proto.wechaty.puppet.TagIdentifier}
|
|
829
939
|
*/
|
|
830
|
-
proto.wechaty.puppet.
|
|
940
|
+
proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader = function(msg, reader) {
|
|
831
941
|
while (reader.nextField()) {
|
|
832
942
|
if (reader.isEndGroup()) {
|
|
833
943
|
break;
|
|
@@ -840,7 +950,7 @@ proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader = function(msg,
|
|
|
840
950
|
break;
|
|
841
951
|
case 2:
|
|
842
952
|
var value = /** @type {string} */ (reader.readString());
|
|
843
|
-
msg.
|
|
953
|
+
msg.setGroupId(value);
|
|
844
954
|
break;
|
|
845
955
|
default:
|
|
846
956
|
reader.skipField();
|
|
@@ -855,9 +965,9 @@ proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader = function(msg,
|
|
|
855
965
|
* Serializes the message to binary data (in protobuf wire format).
|
|
856
966
|
* @return {!Uint8Array}
|
|
857
967
|
*/
|
|
858
|
-
proto.wechaty.puppet.
|
|
968
|
+
proto.wechaty.puppet.TagIdentifier.prototype.serializeBinary = function() {
|
|
859
969
|
var writer = new jspb.BinaryWriter();
|
|
860
|
-
proto.wechaty.puppet.
|
|
970
|
+
proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter(this, writer);
|
|
861
971
|
return writer.getResultBuffer();
|
|
862
972
|
};
|
|
863
973
|
|
|
@@ -865,11 +975,11 @@ proto.wechaty.puppet.TagGroupPayload.prototype.serializeBinary = function() {
|
|
|
865
975
|
/**
|
|
866
976
|
* Serializes the given message to binary data (in protobuf wire
|
|
867
977
|
* format), writing to the given BinaryWriter.
|
|
868
|
-
* @param {!proto.wechaty.puppet.
|
|
978
|
+
* @param {!proto.wechaty.puppet.TagIdentifier} message
|
|
869
979
|
* @param {!jspb.BinaryWriter} writer
|
|
870
980
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
871
981
|
*/
|
|
872
|
-
proto.wechaty.puppet.
|
|
982
|
+
proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter = function(message, writer) {
|
|
873
983
|
var f = undefined;
|
|
874
984
|
f = message.getId();
|
|
875
985
|
if (f.length > 0) {
|
|
@@ -878,7 +988,7 @@ proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter = function(message,
|
|
|
878
988
|
f
|
|
879
989
|
);
|
|
880
990
|
}
|
|
881
|
-
f = message.
|
|
991
|
+
f = message.getGroupId();
|
|
882
992
|
if (f.length > 0) {
|
|
883
993
|
writer.writeString(
|
|
884
994
|
2,
|
|
@@ -892,34 +1002,34 @@ proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter = function(message,
|
|
|
892
1002
|
* optional string id = 1;
|
|
893
1003
|
* @return {string}
|
|
894
1004
|
*/
|
|
895
|
-
proto.wechaty.puppet.
|
|
1005
|
+
proto.wechaty.puppet.TagIdentifier.prototype.getId = function() {
|
|
896
1006
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
897
1007
|
};
|
|
898
1008
|
|
|
899
1009
|
|
|
900
1010
|
/**
|
|
901
1011
|
* @param {string} value
|
|
902
|
-
* @return {!proto.wechaty.puppet.
|
|
1012
|
+
* @return {!proto.wechaty.puppet.TagIdentifier} returns this
|
|
903
1013
|
*/
|
|
904
|
-
proto.wechaty.puppet.
|
|
1014
|
+
proto.wechaty.puppet.TagIdentifier.prototype.setId = function(value) {
|
|
905
1015
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
906
1016
|
};
|
|
907
1017
|
|
|
908
1018
|
|
|
909
1019
|
/**
|
|
910
|
-
* optional string
|
|
1020
|
+
* optional string group_id = 2;
|
|
911
1021
|
* @return {string}
|
|
912
1022
|
*/
|
|
913
|
-
proto.wechaty.puppet.
|
|
1023
|
+
proto.wechaty.puppet.TagIdentifier.prototype.getGroupId = function() {
|
|
914
1024
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
915
1025
|
};
|
|
916
1026
|
|
|
917
1027
|
|
|
918
1028
|
/**
|
|
919
1029
|
* @param {string} value
|
|
920
|
-
* @return {!proto.wechaty.puppet.
|
|
1030
|
+
* @return {!proto.wechaty.puppet.TagIdentifier} returns this
|
|
921
1031
|
*/
|
|
922
|
-
proto.wechaty.puppet.
|
|
1032
|
+
proto.wechaty.puppet.TagIdentifier.prototype.setGroupId = function(value) {
|
|
923
1033
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
924
1034
|
};
|
|
925
1035
|
|
|
@@ -940,8 +1050,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
940
1050
|
* http://goto/soy-param-migration
|
|
941
1051
|
* @return {!Object}
|
|
942
1052
|
*/
|
|
943
|
-
proto.wechaty.puppet.
|
|
944
|
-
return proto.wechaty.puppet.
|
|
1053
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.toObject = function(opt_includeInstance) {
|
|
1054
|
+
return proto.wechaty.puppet.TagGroupPayload.toObject(opt_includeInstance, this);
|
|
945
1055
|
};
|
|
946
1056
|
|
|
947
1057
|
|
|
@@ -950,15 +1060,15 @@ proto.wechaty.puppet.TagContactTagAddRequest.prototype.toObject = function(opt_i
|
|
|
950
1060
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
951
1061
|
* the JSPB instance for transitional soy proto support:
|
|
952
1062
|
* http://goto/soy-param-migration
|
|
953
|
-
* @param {!proto.wechaty.puppet.
|
|
1063
|
+
* @param {!proto.wechaty.puppet.TagGroupPayload} msg The msg instance to transform.
|
|
954
1064
|
* @return {!Object}
|
|
955
1065
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
956
1066
|
*/
|
|
957
|
-
proto.wechaty.puppet.
|
|
1067
|
+
proto.wechaty.puppet.TagGroupPayload.toObject = function(includeInstance, msg) {
|
|
958
1068
|
var f, obj = {
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
1069
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1070
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1071
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
962
1072
|
};
|
|
963
1073
|
|
|
964
1074
|
if (includeInstance) {
|
|
@@ -972,23 +1082,23 @@ proto.wechaty.puppet.TagContactTagAddRequest.toObject = function(includeInstance
|
|
|
972
1082
|
/**
|
|
973
1083
|
* Deserializes binary data (in protobuf wire format).
|
|
974
1084
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
975
|
-
* @return {!proto.wechaty.puppet.
|
|
1085
|
+
* @return {!proto.wechaty.puppet.TagGroupPayload}
|
|
976
1086
|
*/
|
|
977
|
-
proto.wechaty.puppet.
|
|
1087
|
+
proto.wechaty.puppet.TagGroupPayload.deserializeBinary = function(bytes) {
|
|
978
1088
|
var reader = new jspb.BinaryReader(bytes);
|
|
979
|
-
var msg = new proto.wechaty.puppet.
|
|
980
|
-
return proto.wechaty.puppet.
|
|
1089
|
+
var msg = new proto.wechaty.puppet.TagGroupPayload;
|
|
1090
|
+
return proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader(msg, reader);
|
|
981
1091
|
};
|
|
982
1092
|
|
|
983
1093
|
|
|
984
1094
|
/**
|
|
985
1095
|
* Deserializes binary data (in protobuf wire format) from the
|
|
986
1096
|
* given reader into the given message object.
|
|
987
|
-
* @param {!proto.wechaty.puppet.
|
|
1097
|
+
* @param {!proto.wechaty.puppet.TagGroupPayload} msg The message object to deserialize into.
|
|
988
1098
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
989
|
-
* @return {!proto.wechaty.puppet.
|
|
1099
|
+
* @return {!proto.wechaty.puppet.TagGroupPayload}
|
|
990
1100
|
*/
|
|
991
|
-
proto.wechaty.puppet.
|
|
1101
|
+
proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
992
1102
|
while (reader.nextField()) {
|
|
993
1103
|
if (reader.isEndGroup()) {
|
|
994
1104
|
break;
|
|
@@ -997,15 +1107,15 @@ proto.wechaty.puppet.TagContactTagAddRequest.deserializeBinaryFromReader = funct
|
|
|
997
1107
|
switch (field) {
|
|
998
1108
|
case 1:
|
|
999
1109
|
var value = /** @type {string} */ (reader.readString());
|
|
1000
|
-
msg.
|
|
1110
|
+
msg.setId(value);
|
|
1001
1111
|
break;
|
|
1002
1112
|
case 2:
|
|
1003
1113
|
var value = /** @type {string} */ (reader.readString());
|
|
1004
|
-
msg.
|
|
1114
|
+
msg.setName(value);
|
|
1005
1115
|
break;
|
|
1006
1116
|
case 3:
|
|
1007
|
-
var value = /** @type {
|
|
1008
|
-
msg.
|
|
1117
|
+
var value = /** @type {!proto.wechaty.puppet.TagType} */ (reader.readEnum());
|
|
1118
|
+
msg.setType(value);
|
|
1009
1119
|
break;
|
|
1010
1120
|
default:
|
|
1011
1121
|
reader.skipField();
|
|
@@ -1020,9 +1130,9 @@ proto.wechaty.puppet.TagContactTagAddRequest.deserializeBinaryFromReader = funct
|
|
|
1020
1130
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1021
1131
|
* @return {!Uint8Array}
|
|
1022
1132
|
*/
|
|
1023
|
-
proto.wechaty.puppet.
|
|
1133
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.serializeBinary = function() {
|
|
1024
1134
|
var writer = new jspb.BinaryWriter();
|
|
1025
|
-
proto.wechaty.puppet.
|
|
1135
|
+
proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter(this, writer);
|
|
1026
1136
|
return writer.getResultBuffer();
|
|
1027
1137
|
};
|
|
1028
1138
|
|
|
@@ -1030,29 +1140,29 @@ proto.wechaty.puppet.TagContactTagAddRequest.prototype.serializeBinary = functio
|
|
|
1030
1140
|
/**
|
|
1031
1141
|
* Serializes the given message to binary data (in protobuf wire
|
|
1032
1142
|
* format), writing to the given BinaryWriter.
|
|
1033
|
-
* @param {!proto.wechaty.puppet.
|
|
1143
|
+
* @param {!proto.wechaty.puppet.TagGroupPayload} message
|
|
1034
1144
|
* @param {!jspb.BinaryWriter} writer
|
|
1035
1145
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1036
1146
|
*/
|
|
1037
|
-
proto.wechaty.puppet.
|
|
1147
|
+
proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter = function(message, writer) {
|
|
1038
1148
|
var f = undefined;
|
|
1039
|
-
f = message.
|
|
1149
|
+
f = message.getId();
|
|
1040
1150
|
if (f.length > 0) {
|
|
1041
1151
|
writer.writeString(
|
|
1042
1152
|
1,
|
|
1043
1153
|
f
|
|
1044
1154
|
);
|
|
1045
1155
|
}
|
|
1046
|
-
f = message.
|
|
1156
|
+
f = message.getName();
|
|
1047
1157
|
if (f.length > 0) {
|
|
1048
1158
|
writer.writeString(
|
|
1049
1159
|
2,
|
|
1050
1160
|
f
|
|
1051
1161
|
);
|
|
1052
1162
|
}
|
|
1053
|
-
f = message.
|
|
1054
|
-
if (f
|
|
1055
|
-
writer.
|
|
1163
|
+
f = message.getType();
|
|
1164
|
+
if (f !== 0.0) {
|
|
1165
|
+
writer.writeEnum(
|
|
1056
1166
|
3,
|
|
1057
1167
|
f
|
|
1058
1168
|
);
|
|
@@ -1061,60 +1171,67 @@ proto.wechaty.puppet.TagContactTagAddRequest.serializeBinaryToWriter = function(
|
|
|
1061
1171
|
|
|
1062
1172
|
|
|
1063
1173
|
/**
|
|
1064
|
-
* optional string
|
|
1174
|
+
* optional string id = 1;
|
|
1065
1175
|
* @return {string}
|
|
1066
1176
|
*/
|
|
1067
|
-
proto.wechaty.puppet.
|
|
1177
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.getId = function() {
|
|
1068
1178
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1069
1179
|
};
|
|
1070
1180
|
|
|
1071
1181
|
|
|
1072
1182
|
/**
|
|
1073
1183
|
* @param {string} value
|
|
1074
|
-
* @return {!proto.wechaty.puppet.
|
|
1184
|
+
* @return {!proto.wechaty.puppet.TagGroupPayload} returns this
|
|
1075
1185
|
*/
|
|
1076
|
-
proto.wechaty.puppet.
|
|
1186
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.setId = function(value) {
|
|
1077
1187
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1078
1188
|
};
|
|
1079
1189
|
|
|
1080
1190
|
|
|
1081
1191
|
/**
|
|
1082
|
-
* optional string
|
|
1192
|
+
* optional string name = 2;
|
|
1083
1193
|
* @return {string}
|
|
1084
1194
|
*/
|
|
1085
|
-
proto.wechaty.puppet.
|
|
1195
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.getName = function() {
|
|
1086
1196
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1087
1197
|
};
|
|
1088
1198
|
|
|
1089
1199
|
|
|
1090
1200
|
/**
|
|
1091
1201
|
* @param {string} value
|
|
1092
|
-
* @return {!proto.wechaty.puppet.
|
|
1202
|
+
* @return {!proto.wechaty.puppet.TagGroupPayload} returns this
|
|
1093
1203
|
*/
|
|
1094
|
-
proto.wechaty.puppet.
|
|
1204
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.setName = function(value) {
|
|
1095
1205
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1096
1206
|
};
|
|
1097
1207
|
|
|
1098
1208
|
|
|
1099
1209
|
/**
|
|
1100
|
-
* optional
|
|
1101
|
-
* @return {
|
|
1210
|
+
* optional TagType type = 3;
|
|
1211
|
+
* @return {!proto.wechaty.puppet.TagType}
|
|
1102
1212
|
*/
|
|
1103
|
-
proto.wechaty.puppet.
|
|
1104
|
-
return /** @type {
|
|
1213
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.getType = function() {
|
|
1214
|
+
return /** @type {!proto.wechaty.puppet.TagType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
1105
1215
|
};
|
|
1106
1216
|
|
|
1107
1217
|
|
|
1108
1218
|
/**
|
|
1109
|
-
* @param {
|
|
1110
|
-
* @return {!proto.wechaty.puppet.
|
|
1219
|
+
* @param {!proto.wechaty.puppet.TagType} value
|
|
1220
|
+
* @return {!proto.wechaty.puppet.TagGroupPayload} returns this
|
|
1111
1221
|
*/
|
|
1112
|
-
proto.wechaty.puppet.
|
|
1113
|
-
return jspb.Message.
|
|
1222
|
+
proto.wechaty.puppet.TagGroupPayload.prototype.setType = function(value) {
|
|
1223
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
1114
1224
|
};
|
|
1115
1225
|
|
|
1116
1226
|
|
|
1117
1227
|
|
|
1228
|
+
/**
|
|
1229
|
+
* List of repeated fields within this message type.
|
|
1230
|
+
* @private {!Array<number>}
|
|
1231
|
+
* @const
|
|
1232
|
+
*/
|
|
1233
|
+
proto.wechaty.puppet.TagContactTagAddRequest.repeatedFields_ = [1,2];
|
|
1234
|
+
|
|
1118
1235
|
|
|
1119
1236
|
|
|
1120
1237
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1130,8 +1247,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1130
1247
|
* http://goto/soy-param-migration
|
|
1131
1248
|
* @return {!Object}
|
|
1132
1249
|
*/
|
|
1133
|
-
proto.wechaty.puppet.
|
|
1134
|
-
return proto.wechaty.puppet.
|
|
1250
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1251
|
+
return proto.wechaty.puppet.TagContactTagAddRequest.toObject(opt_includeInstance, this);
|
|
1135
1252
|
};
|
|
1136
1253
|
|
|
1137
1254
|
|
|
@@ -1140,13 +1257,15 @@ proto.wechaty.puppet.TagContactTagAddResponse.prototype.toObject = function(opt_
|
|
|
1140
1257
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1141
1258
|
* the JSPB instance for transitional soy proto support:
|
|
1142
1259
|
* http://goto/soy-param-migration
|
|
1143
|
-
* @param {!proto.wechaty.puppet.
|
|
1260
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddRequest} msg The msg instance to transform.
|
|
1144
1261
|
* @return {!Object}
|
|
1145
1262
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1146
1263
|
*/
|
|
1147
|
-
proto.wechaty.puppet.
|
|
1264
|
+
proto.wechaty.puppet.TagContactTagAddRequest.toObject = function(includeInstance, msg) {
|
|
1148
1265
|
var f, obj = {
|
|
1149
|
-
|
|
1266
|
+
tagsList: jspb.Message.toObjectList(msg.getTagsList(),
|
|
1267
|
+
proto.wechaty.puppet.TagIdentifier.toObject, includeInstance),
|
|
1268
|
+
contactIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
1150
1269
|
};
|
|
1151
1270
|
|
|
1152
1271
|
if (includeInstance) {
|
|
@@ -1160,29 +1279,38 @@ proto.wechaty.puppet.TagContactTagAddResponse.toObject = function(includeInstanc
|
|
|
1160
1279
|
/**
|
|
1161
1280
|
* Deserializes binary data (in protobuf wire format).
|
|
1162
1281
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1163
|
-
* @return {!proto.wechaty.puppet.
|
|
1282
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest}
|
|
1164
1283
|
*/
|
|
1165
|
-
proto.wechaty.puppet.
|
|
1284
|
+
proto.wechaty.puppet.TagContactTagAddRequest.deserializeBinary = function(bytes) {
|
|
1166
1285
|
var reader = new jspb.BinaryReader(bytes);
|
|
1167
|
-
var msg = new proto.wechaty.puppet.
|
|
1168
|
-
return proto.wechaty.puppet.
|
|
1286
|
+
var msg = new proto.wechaty.puppet.TagContactTagAddRequest;
|
|
1287
|
+
return proto.wechaty.puppet.TagContactTagAddRequest.deserializeBinaryFromReader(msg, reader);
|
|
1169
1288
|
};
|
|
1170
1289
|
|
|
1171
1290
|
|
|
1172
1291
|
/**
|
|
1173
1292
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1174
1293
|
* given reader into the given message object.
|
|
1175
|
-
* @param {!proto.wechaty.puppet.
|
|
1294
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddRequest} msg The message object to deserialize into.
|
|
1176
1295
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1177
|
-
* @return {!proto.wechaty.puppet.
|
|
1296
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest}
|
|
1178
1297
|
*/
|
|
1179
|
-
proto.wechaty.puppet.
|
|
1298
|
+
proto.wechaty.puppet.TagContactTagAddRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1180
1299
|
while (reader.nextField()) {
|
|
1181
1300
|
if (reader.isEndGroup()) {
|
|
1182
1301
|
break;
|
|
1183
1302
|
}
|
|
1184
1303
|
var field = reader.getFieldNumber();
|
|
1185
1304
|
switch (field) {
|
|
1305
|
+
case 1:
|
|
1306
|
+
var value = new proto.wechaty.puppet.TagIdentifier;
|
|
1307
|
+
reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
|
|
1308
|
+
msg.addTags(value);
|
|
1309
|
+
break;
|
|
1310
|
+
case 2:
|
|
1311
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1312
|
+
msg.addContactIds(value);
|
|
1313
|
+
break;
|
|
1186
1314
|
default:
|
|
1187
1315
|
reader.skipField();
|
|
1188
1316
|
break;
|
|
@@ -1196,9 +1324,9 @@ proto.wechaty.puppet.TagContactTagAddResponse.deserializeBinaryFromReader = func
|
|
|
1196
1324
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1197
1325
|
* @return {!Uint8Array}
|
|
1198
1326
|
*/
|
|
1199
|
-
proto.wechaty.puppet.
|
|
1327
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.serializeBinary = function() {
|
|
1200
1328
|
var writer = new jspb.BinaryWriter();
|
|
1201
|
-
proto.wechaty.puppet.
|
|
1329
|
+
proto.wechaty.puppet.TagContactTagAddRequest.serializeBinaryToWriter(this, writer);
|
|
1202
1330
|
return writer.getResultBuffer();
|
|
1203
1331
|
};
|
|
1204
1332
|
|
|
@@ -1206,38 +1334,236 @@ proto.wechaty.puppet.TagContactTagAddResponse.prototype.serializeBinary = functi
|
|
|
1206
1334
|
/**
|
|
1207
1335
|
* Serializes the given message to binary data (in protobuf wire
|
|
1208
1336
|
* format), writing to the given BinaryWriter.
|
|
1209
|
-
* @param {!proto.wechaty.puppet.
|
|
1337
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddRequest} message
|
|
1210
1338
|
* @param {!jspb.BinaryWriter} writer
|
|
1211
1339
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1212
1340
|
*/
|
|
1213
|
-
proto.wechaty.puppet.
|
|
1341
|
+
proto.wechaty.puppet.TagContactTagAddRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1214
1342
|
var f = undefined;
|
|
1343
|
+
f = message.getTagsList();
|
|
1344
|
+
if (f.length > 0) {
|
|
1345
|
+
writer.writeRepeatedMessage(
|
|
1346
|
+
1,
|
|
1347
|
+
f,
|
|
1348
|
+
proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
|
|
1349
|
+
);
|
|
1350
|
+
}
|
|
1351
|
+
f = message.getContactIdsList();
|
|
1352
|
+
if (f.length > 0) {
|
|
1353
|
+
writer.writeRepeatedString(
|
|
1354
|
+
2,
|
|
1355
|
+
f
|
|
1356
|
+
);
|
|
1357
|
+
}
|
|
1215
1358
|
};
|
|
1216
1359
|
|
|
1217
1360
|
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1222
1361
|
/**
|
|
1223
|
-
*
|
|
1224
|
-
*
|
|
1225
|
-
* Optional fields that are not set will be set to undefined.
|
|
1226
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1227
|
-
* For the list of reserved names please see:
|
|
1228
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1229
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1230
|
-
* JSPB instance for transitional soy proto support:
|
|
1231
|
-
* http://goto/soy-param-migration
|
|
1232
|
-
* @return {!Object}
|
|
1362
|
+
* repeated TagIdentifier tags = 1;
|
|
1363
|
+
* @return {!Array<!proto.wechaty.puppet.TagIdentifier>}
|
|
1233
1364
|
*/
|
|
1234
|
-
proto.wechaty.puppet.
|
|
1235
|
-
return proto.wechaty.puppet.
|
|
1365
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.getTagsList = function() {
|
|
1366
|
+
return /** @type{!Array<!proto.wechaty.puppet.TagIdentifier>} */ (
|
|
1367
|
+
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagIdentifier, 1));
|
|
1236
1368
|
};
|
|
1237
1369
|
|
|
1238
1370
|
|
|
1239
1371
|
/**
|
|
1240
|
-
*
|
|
1372
|
+
* @param {!Array<!proto.wechaty.puppet.TagIdentifier>} value
|
|
1373
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest} returns this
|
|
1374
|
+
*/
|
|
1375
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.setTagsList = function(value) {
|
|
1376
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1377
|
+
};
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* @param {!proto.wechaty.puppet.TagIdentifier=} opt_value
|
|
1382
|
+
* @param {number=} opt_index
|
|
1383
|
+
* @return {!proto.wechaty.puppet.TagIdentifier}
|
|
1384
|
+
*/
|
|
1385
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.addTags = function(opt_value, opt_index) {
|
|
1386
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagIdentifier, opt_index);
|
|
1387
|
+
};
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* Clears the list making it empty but non-null.
|
|
1392
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest} returns this
|
|
1393
|
+
*/
|
|
1394
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.clearTagsList = function() {
|
|
1395
|
+
return this.setTagsList([]);
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* repeated string contact_ids = 2;
|
|
1401
|
+
* @return {!Array<string>}
|
|
1402
|
+
*/
|
|
1403
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.getContactIdsList = function() {
|
|
1404
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
1405
|
+
};
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* @param {!Array<string>} value
|
|
1410
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest} returns this
|
|
1411
|
+
*/
|
|
1412
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.setContactIdsList = function(value) {
|
|
1413
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
1414
|
+
};
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* @param {string} value
|
|
1419
|
+
* @param {number=} opt_index
|
|
1420
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest} returns this
|
|
1421
|
+
*/
|
|
1422
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.addContactIds = function(value, opt_index) {
|
|
1423
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
1424
|
+
};
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
/**
|
|
1428
|
+
* Clears the list making it empty but non-null.
|
|
1429
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddRequest} returns this
|
|
1430
|
+
*/
|
|
1431
|
+
proto.wechaty.puppet.TagContactTagAddRequest.prototype.clearContactIdsList = function() {
|
|
1432
|
+
return this.setContactIdsList([]);
|
|
1433
|
+
};
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1440
|
+
/**
|
|
1441
|
+
* Creates an object representation of this proto.
|
|
1442
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1443
|
+
* Optional fields that are not set will be set to undefined.
|
|
1444
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1445
|
+
* For the list of reserved names please see:
|
|
1446
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1447
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1448
|
+
* JSPB instance for transitional soy proto support:
|
|
1449
|
+
* http://goto/soy-param-migration
|
|
1450
|
+
* @return {!Object}
|
|
1451
|
+
*/
|
|
1452
|
+
proto.wechaty.puppet.TagContactTagAddResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1453
|
+
return proto.wechaty.puppet.TagContactTagAddResponse.toObject(opt_includeInstance, this);
|
|
1454
|
+
};
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* Static version of the {@see toObject} method.
|
|
1459
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1460
|
+
* the JSPB instance for transitional soy proto support:
|
|
1461
|
+
* http://goto/soy-param-migration
|
|
1462
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddResponse} msg The msg instance to transform.
|
|
1463
|
+
* @return {!Object}
|
|
1464
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1465
|
+
*/
|
|
1466
|
+
proto.wechaty.puppet.TagContactTagAddResponse.toObject = function(includeInstance, msg) {
|
|
1467
|
+
var f, obj = {
|
|
1468
|
+
|
|
1469
|
+
};
|
|
1470
|
+
|
|
1471
|
+
if (includeInstance) {
|
|
1472
|
+
obj.$jspbMessageInstance = msg;
|
|
1473
|
+
}
|
|
1474
|
+
return obj;
|
|
1475
|
+
};
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1481
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1482
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddResponse}
|
|
1483
|
+
*/
|
|
1484
|
+
proto.wechaty.puppet.TagContactTagAddResponse.deserializeBinary = function(bytes) {
|
|
1485
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1486
|
+
var msg = new proto.wechaty.puppet.TagContactTagAddResponse;
|
|
1487
|
+
return proto.wechaty.puppet.TagContactTagAddResponse.deserializeBinaryFromReader(msg, reader);
|
|
1488
|
+
};
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1493
|
+
* given reader into the given message object.
|
|
1494
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddResponse} msg The message object to deserialize into.
|
|
1495
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1496
|
+
* @return {!proto.wechaty.puppet.TagContactTagAddResponse}
|
|
1497
|
+
*/
|
|
1498
|
+
proto.wechaty.puppet.TagContactTagAddResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1499
|
+
while (reader.nextField()) {
|
|
1500
|
+
if (reader.isEndGroup()) {
|
|
1501
|
+
break;
|
|
1502
|
+
}
|
|
1503
|
+
var field = reader.getFieldNumber();
|
|
1504
|
+
switch (field) {
|
|
1505
|
+
default:
|
|
1506
|
+
reader.skipField();
|
|
1507
|
+
break;
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
return msg;
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1516
|
+
* @return {!Uint8Array}
|
|
1517
|
+
*/
|
|
1518
|
+
proto.wechaty.puppet.TagContactTagAddResponse.prototype.serializeBinary = function() {
|
|
1519
|
+
var writer = new jspb.BinaryWriter();
|
|
1520
|
+
proto.wechaty.puppet.TagContactTagAddResponse.serializeBinaryToWriter(this, writer);
|
|
1521
|
+
return writer.getResultBuffer();
|
|
1522
|
+
};
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1527
|
+
* format), writing to the given BinaryWriter.
|
|
1528
|
+
* @param {!proto.wechaty.puppet.TagContactTagAddResponse} message
|
|
1529
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1530
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1531
|
+
*/
|
|
1532
|
+
proto.wechaty.puppet.TagContactTagAddResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1533
|
+
var f = undefined;
|
|
1534
|
+
};
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* List of repeated fields within this message type.
|
|
1540
|
+
* @private {!Array<number>}
|
|
1541
|
+
* @const
|
|
1542
|
+
*/
|
|
1543
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.repeatedFields_ = [1,2];
|
|
1544
|
+
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1548
|
+
/**
|
|
1549
|
+
* Creates an object representation of this proto.
|
|
1550
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1551
|
+
* Optional fields that are not set will be set to undefined.
|
|
1552
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1553
|
+
* For the list of reserved names please see:
|
|
1554
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1555
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1556
|
+
* JSPB instance for transitional soy proto support:
|
|
1557
|
+
* http://goto/soy-param-migration
|
|
1558
|
+
* @return {!Object}
|
|
1559
|
+
*/
|
|
1560
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1561
|
+
return proto.wechaty.puppet.TagContactTagRemoveRequest.toObject(opt_includeInstance, this);
|
|
1562
|
+
};
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* Static version of the {@see toObject} method.
|
|
1241
1567
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1242
1568
|
* the JSPB instance for transitional soy proto support:
|
|
1243
1569
|
* http://goto/soy-param-migration
|
|
@@ -1247,9 +1573,9 @@ proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.toObject = function(op
|
|
|
1247
1573
|
*/
|
|
1248
1574
|
proto.wechaty.puppet.TagContactTagRemoveRequest.toObject = function(includeInstance, msg) {
|
|
1249
1575
|
var f, obj = {
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1576
|
+
tagsList: jspb.Message.toObjectList(msg.getTagsList(),
|
|
1577
|
+
proto.wechaty.puppet.TagIdentifier.toObject, includeInstance),
|
|
1578
|
+
contactIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
1253
1579
|
};
|
|
1254
1580
|
|
|
1255
1581
|
if (includeInstance) {
|
|
@@ -1287,16 +1613,13 @@ proto.wechaty.puppet.TagContactTagRemoveRequest.deserializeBinaryFromReader = fu
|
|
|
1287
1613
|
var field = reader.getFieldNumber();
|
|
1288
1614
|
switch (field) {
|
|
1289
1615
|
case 1:
|
|
1290
|
-
var value =
|
|
1291
|
-
|
|
1616
|
+
var value = new proto.wechaty.puppet.TagIdentifier;
|
|
1617
|
+
reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
|
|
1618
|
+
msg.addTags(value);
|
|
1292
1619
|
break;
|
|
1293
1620
|
case 2:
|
|
1294
1621
|
var value = /** @type {string} */ (reader.readString());
|
|
1295
|
-
msg.
|
|
1296
|
-
break;
|
|
1297
|
-
case 3:
|
|
1298
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1299
|
-
msg.setContactId(value);
|
|
1622
|
+
msg.addContactIds(value);
|
|
1300
1623
|
break;
|
|
1301
1624
|
default:
|
|
1302
1625
|
reader.skipField();
|
|
@@ -1327,81 +1650,96 @@ proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.serializeBinary = func
|
|
|
1327
1650
|
*/
|
|
1328
1651
|
proto.wechaty.puppet.TagContactTagRemoveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1329
1652
|
var f = undefined;
|
|
1330
|
-
f = message.
|
|
1653
|
+
f = message.getTagsList();
|
|
1331
1654
|
if (f.length > 0) {
|
|
1332
|
-
writer.
|
|
1655
|
+
writer.writeRepeatedMessage(
|
|
1333
1656
|
1,
|
|
1334
|
-
f
|
|
1657
|
+
f,
|
|
1658
|
+
proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
|
|
1335
1659
|
);
|
|
1336
1660
|
}
|
|
1337
|
-
f = message.
|
|
1661
|
+
f = message.getContactIdsList();
|
|
1338
1662
|
if (f.length > 0) {
|
|
1339
|
-
writer.
|
|
1663
|
+
writer.writeRepeatedString(
|
|
1340
1664
|
2,
|
|
1341
1665
|
f
|
|
1342
1666
|
);
|
|
1343
1667
|
}
|
|
1344
|
-
f = message.getContactId();
|
|
1345
|
-
if (f.length > 0) {
|
|
1346
|
-
writer.writeString(
|
|
1347
|
-
3,
|
|
1348
|
-
f
|
|
1349
|
-
);
|
|
1350
|
-
}
|
|
1351
1668
|
};
|
|
1352
1669
|
|
|
1353
1670
|
|
|
1354
1671
|
/**
|
|
1355
|
-
*
|
|
1356
|
-
* @return {
|
|
1672
|
+
* repeated TagIdentifier tags = 1;
|
|
1673
|
+
* @return {!Array<!proto.wechaty.puppet.TagIdentifier>}
|
|
1357
1674
|
*/
|
|
1358
|
-
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.
|
|
1359
|
-
return /** @type
|
|
1675
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.getTagsList = function() {
|
|
1676
|
+
return /** @type{!Array<!proto.wechaty.puppet.TagIdentifier>} */ (
|
|
1677
|
+
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagIdentifier, 1));
|
|
1360
1678
|
};
|
|
1361
1679
|
|
|
1362
1680
|
|
|
1363
1681
|
/**
|
|
1364
|
-
* @param {
|
|
1682
|
+
* @param {!Array<!proto.wechaty.puppet.TagIdentifier>} value
|
|
1365
1683
|
* @return {!proto.wechaty.puppet.TagContactTagRemoveRequest} returns this
|
|
1366
|
-
|
|
1367
|
-
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.
|
|
1368
|
-
return jspb.Message.
|
|
1684
|
+
*/
|
|
1685
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.setTagsList = function(value) {
|
|
1686
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1369
1687
|
};
|
|
1370
1688
|
|
|
1371
1689
|
|
|
1372
1690
|
/**
|
|
1373
|
-
*
|
|
1374
|
-
* @
|
|
1691
|
+
* @param {!proto.wechaty.puppet.TagIdentifier=} opt_value
|
|
1692
|
+
* @param {number=} opt_index
|
|
1693
|
+
* @return {!proto.wechaty.puppet.TagIdentifier}
|
|
1375
1694
|
*/
|
|
1376
|
-
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.
|
|
1377
|
-
return
|
|
1695
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.addTags = function(opt_value, opt_index) {
|
|
1696
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.TagIdentifier, opt_index);
|
|
1378
1697
|
};
|
|
1379
1698
|
|
|
1380
1699
|
|
|
1381
1700
|
/**
|
|
1382
|
-
*
|
|
1701
|
+
* Clears the list making it empty but non-null.
|
|
1383
1702
|
* @return {!proto.wechaty.puppet.TagContactTagRemoveRequest} returns this
|
|
1384
1703
|
*/
|
|
1385
|
-
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.
|
|
1386
|
-
return
|
|
1704
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.clearTagsList = function() {
|
|
1705
|
+
return this.setTagsList([]);
|
|
1387
1706
|
};
|
|
1388
1707
|
|
|
1389
1708
|
|
|
1390
1709
|
/**
|
|
1391
|
-
*
|
|
1392
|
-
* @return {string}
|
|
1710
|
+
* repeated string contact_ids = 2;
|
|
1711
|
+
* @return {!Array<string>}
|
|
1393
1712
|
*/
|
|
1394
|
-
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.
|
|
1395
|
-
return /** @type {string} */ (jspb.Message.
|
|
1713
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.getContactIdsList = function() {
|
|
1714
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
1715
|
+
};
|
|
1716
|
+
|
|
1717
|
+
|
|
1718
|
+
/**
|
|
1719
|
+
* @param {!Array<string>} value
|
|
1720
|
+
* @return {!proto.wechaty.puppet.TagContactTagRemoveRequest} returns this
|
|
1721
|
+
*/
|
|
1722
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.setContactIdsList = function(value) {
|
|
1723
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
1396
1724
|
};
|
|
1397
1725
|
|
|
1398
1726
|
|
|
1399
1727
|
/**
|
|
1400
1728
|
* @param {string} value
|
|
1729
|
+
* @param {number=} opt_index
|
|
1401
1730
|
* @return {!proto.wechaty.puppet.TagContactTagRemoveRequest} returns this
|
|
1402
1731
|
*/
|
|
1403
|
-
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.
|
|
1404
|
-
return jspb.Message.
|
|
1732
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.addContactIds = function(value, opt_index) {
|
|
1733
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
1734
|
+
};
|
|
1735
|
+
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* Clears the list making it empty but non-null.
|
|
1739
|
+
* @return {!proto.wechaty.puppet.TagContactTagRemoveRequest} returns this
|
|
1740
|
+
*/
|
|
1741
|
+
proto.wechaty.puppet.TagContactTagRemoveRequest.prototype.clearContactIdsList = function() {
|
|
1742
|
+
return this.setContactIdsList([]);
|
|
1405
1743
|
};
|
|
1406
1744
|
|
|
1407
1745
|
|
|
@@ -1668,7 +2006,7 @@ proto.wechaty.puppet.TagGroupAddResponse.prototype.toObject = function(opt_inclu
|
|
|
1668
2006
|
*/
|
|
1669
2007
|
proto.wechaty.puppet.TagGroupAddResponse.toObject = function(includeInstance, msg) {
|
|
1670
2008
|
var f, obj = {
|
|
1671
|
-
|
|
2009
|
+
tagGroupId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1672
2010
|
};
|
|
1673
2011
|
|
|
1674
2012
|
if (includeInstance) {
|
|
@@ -1706,9 +2044,8 @@ proto.wechaty.puppet.TagGroupAddResponse.deserializeBinaryFromReader = function(
|
|
|
1706
2044
|
var field = reader.getFieldNumber();
|
|
1707
2045
|
switch (field) {
|
|
1708
2046
|
case 1:
|
|
1709
|
-
var value =
|
|
1710
|
-
|
|
1711
|
-
msg.setPayload(value);
|
|
2047
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2048
|
+
msg.setTagGroupId(value);
|
|
1712
2049
|
break;
|
|
1713
2050
|
default:
|
|
1714
2051
|
reader.skipField();
|
|
@@ -1739,51 +2076,31 @@ proto.wechaty.puppet.TagGroupAddResponse.prototype.serializeBinary = function()
|
|
|
1739
2076
|
*/
|
|
1740
2077
|
proto.wechaty.puppet.TagGroupAddResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1741
2078
|
var f = undefined;
|
|
1742
|
-
f = message.
|
|
1743
|
-
if (f
|
|
1744
|
-
writer.
|
|
2079
|
+
f = message.getTagGroupId();
|
|
2080
|
+
if (f.length > 0) {
|
|
2081
|
+
writer.writeString(
|
|
1745
2082
|
1,
|
|
1746
|
-
f
|
|
1747
|
-
proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter
|
|
2083
|
+
f
|
|
1748
2084
|
);
|
|
1749
2085
|
}
|
|
1750
2086
|
};
|
|
1751
2087
|
|
|
1752
2088
|
|
|
1753
2089
|
/**
|
|
1754
|
-
* optional
|
|
1755
|
-
* @return {
|
|
2090
|
+
* optional string tag_group_id = 1;
|
|
2091
|
+
* @return {string}
|
|
1756
2092
|
*/
|
|
1757
|
-
proto.wechaty.puppet.TagGroupAddResponse.prototype.
|
|
1758
|
-
return /** @type{
|
|
1759
|
-
jspb.Message.getWrapperField(this, proto.wechaty.puppet.TagGroupPayload, 1));
|
|
2093
|
+
proto.wechaty.puppet.TagGroupAddResponse.prototype.getTagGroupId = function() {
|
|
2094
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1760
2095
|
};
|
|
1761
2096
|
|
|
1762
2097
|
|
|
1763
2098
|
/**
|
|
1764
|
-
* @param {
|
|
2099
|
+
* @param {string} value
|
|
1765
2100
|
* @return {!proto.wechaty.puppet.TagGroupAddResponse} returns this
|
|
1766
|
-
*/
|
|
1767
|
-
proto.wechaty.puppet.TagGroupAddResponse.prototype.setPayload = function(value) {
|
|
1768
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
1769
|
-
};
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
/**
|
|
1773
|
-
* Clears the message field making it undefined.
|
|
1774
|
-
* @return {!proto.wechaty.puppet.TagGroupAddResponse} returns this
|
|
1775
|
-
*/
|
|
1776
|
-
proto.wechaty.puppet.TagGroupAddResponse.prototype.clearPayload = function() {
|
|
1777
|
-
return this.setPayload(undefined);
|
|
1778
|
-
};
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
/**
|
|
1782
|
-
* Returns whether this field is set.
|
|
1783
|
-
* @return {boolean}
|
|
1784
2101
|
*/
|
|
1785
|
-
proto.wechaty.puppet.TagGroupAddResponse.prototype.
|
|
1786
|
-
return jspb.Message.
|
|
2102
|
+
proto.wechaty.puppet.TagGroupAddResponse.prototype.setTagGroupId = function(value) {
|
|
2103
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1787
2104
|
};
|
|
1788
2105
|
|
|
1789
2106
|
|
|
@@ -2050,8 +2367,8 @@ proto.wechaty.puppet.TagTagAddRequest.prototype.toObject = function(opt_includeI
|
|
|
2050
2367
|
*/
|
|
2051
2368
|
proto.wechaty.puppet.TagTagAddRequest.toObject = function(includeInstance, msg) {
|
|
2052
2369
|
var f, obj = {
|
|
2053
|
-
|
|
2054
|
-
|
|
2370
|
+
tagName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2371
|
+
tagGroupId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2055
2372
|
};
|
|
2056
2373
|
|
|
2057
2374
|
if (includeInstance) {
|
|
@@ -2090,11 +2407,11 @@ proto.wechaty.puppet.TagTagAddRequest.deserializeBinaryFromReader = function(msg
|
|
|
2090
2407
|
switch (field) {
|
|
2091
2408
|
case 1:
|
|
2092
2409
|
var value = /** @type {string} */ (reader.readString());
|
|
2093
|
-
msg.
|
|
2410
|
+
msg.setTagName(value);
|
|
2094
2411
|
break;
|
|
2095
2412
|
case 2:
|
|
2096
2413
|
var value = /** @type {string} */ (reader.readString());
|
|
2097
|
-
msg.
|
|
2414
|
+
msg.setTagGroupId(value);
|
|
2098
2415
|
break;
|
|
2099
2416
|
default:
|
|
2100
2417
|
reader.skipField();
|
|
@@ -2125,14 +2442,14 @@ proto.wechaty.puppet.TagTagAddRequest.prototype.serializeBinary = function() {
|
|
|
2125
2442
|
*/
|
|
2126
2443
|
proto.wechaty.puppet.TagTagAddRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2127
2444
|
var f = undefined;
|
|
2128
|
-
f = message.
|
|
2445
|
+
f = message.getTagName();
|
|
2129
2446
|
if (f.length > 0) {
|
|
2130
2447
|
writer.writeString(
|
|
2131
2448
|
1,
|
|
2132
2449
|
f
|
|
2133
2450
|
);
|
|
2134
2451
|
}
|
|
2135
|
-
f = message.
|
|
2452
|
+
f = message.getTagGroupId();
|
|
2136
2453
|
if (f.length > 0) {
|
|
2137
2454
|
writer.writeString(
|
|
2138
2455
|
2,
|
|
@@ -2143,10 +2460,10 @@ proto.wechaty.puppet.TagTagAddRequest.serializeBinaryToWriter = function(message
|
|
|
2143
2460
|
|
|
2144
2461
|
|
|
2145
2462
|
/**
|
|
2146
|
-
* optional string
|
|
2463
|
+
* optional string tag_name = 1;
|
|
2147
2464
|
* @return {string}
|
|
2148
2465
|
*/
|
|
2149
|
-
proto.wechaty.puppet.TagTagAddRequest.prototype.
|
|
2466
|
+
proto.wechaty.puppet.TagTagAddRequest.prototype.getTagName = function() {
|
|
2150
2467
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2151
2468
|
};
|
|
2152
2469
|
|
|
@@ -2155,16 +2472,16 @@ proto.wechaty.puppet.TagTagAddRequest.prototype.getTagGroupId = function() {
|
|
|
2155
2472
|
* @param {string} value
|
|
2156
2473
|
* @return {!proto.wechaty.puppet.TagTagAddRequest} returns this
|
|
2157
2474
|
*/
|
|
2158
|
-
proto.wechaty.puppet.TagTagAddRequest.prototype.
|
|
2475
|
+
proto.wechaty.puppet.TagTagAddRequest.prototype.setTagName = function(value) {
|
|
2159
2476
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2160
2477
|
};
|
|
2161
2478
|
|
|
2162
2479
|
|
|
2163
2480
|
/**
|
|
2164
|
-
* optional string
|
|
2481
|
+
* optional string tag_group_id = 2;
|
|
2165
2482
|
* @return {string}
|
|
2166
2483
|
*/
|
|
2167
|
-
proto.wechaty.puppet.TagTagAddRequest.prototype.
|
|
2484
|
+
proto.wechaty.puppet.TagTagAddRequest.prototype.getTagGroupId = function() {
|
|
2168
2485
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2169
2486
|
};
|
|
2170
2487
|
|
|
@@ -2173,7 +2490,7 @@ proto.wechaty.puppet.TagTagAddRequest.prototype.getTagName = function() {
|
|
|
2173
2490
|
* @param {string} value
|
|
2174
2491
|
* @return {!proto.wechaty.puppet.TagTagAddRequest} returns this
|
|
2175
2492
|
*/
|
|
2176
|
-
proto.wechaty.puppet.TagTagAddRequest.prototype.
|
|
2493
|
+
proto.wechaty.puppet.TagTagAddRequest.prototype.setTagGroupId = function(value) {
|
|
2177
2494
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2178
2495
|
};
|
|
2179
2496
|
|
|
@@ -2210,7 +2527,7 @@ proto.wechaty.puppet.TagTagAddResponse.prototype.toObject = function(opt_include
|
|
|
2210
2527
|
*/
|
|
2211
2528
|
proto.wechaty.puppet.TagTagAddResponse.toObject = function(includeInstance, msg) {
|
|
2212
2529
|
var f, obj = {
|
|
2213
|
-
|
|
2530
|
+
tag: (f = msg.getTag()) && proto.wechaty.puppet.TagIdentifier.toObject(includeInstance, f)
|
|
2214
2531
|
};
|
|
2215
2532
|
|
|
2216
2533
|
if (includeInstance) {
|
|
@@ -2248,9 +2565,9 @@ proto.wechaty.puppet.TagTagAddResponse.deserializeBinaryFromReader = function(ms
|
|
|
2248
2565
|
var field = reader.getFieldNumber();
|
|
2249
2566
|
switch (field) {
|
|
2250
2567
|
case 1:
|
|
2251
|
-
var value = new proto.wechaty.puppet.
|
|
2252
|
-
reader.readMessage(value,proto.wechaty.puppet.
|
|
2253
|
-
msg.
|
|
2568
|
+
var value = new proto.wechaty.puppet.TagIdentifier;
|
|
2569
|
+
reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
|
|
2570
|
+
msg.setTag(value);
|
|
2254
2571
|
break;
|
|
2255
2572
|
default:
|
|
2256
2573
|
reader.skipField();
|
|
@@ -2281,32 +2598,32 @@ proto.wechaty.puppet.TagTagAddResponse.prototype.serializeBinary = function() {
|
|
|
2281
2598
|
*/
|
|
2282
2599
|
proto.wechaty.puppet.TagTagAddResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2283
2600
|
var f = undefined;
|
|
2284
|
-
f = message.
|
|
2601
|
+
f = message.getTag();
|
|
2285
2602
|
if (f != null) {
|
|
2286
2603
|
writer.writeMessage(
|
|
2287
2604
|
1,
|
|
2288
2605
|
f,
|
|
2289
|
-
proto.wechaty.puppet.
|
|
2606
|
+
proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
|
|
2290
2607
|
);
|
|
2291
2608
|
}
|
|
2292
2609
|
};
|
|
2293
2610
|
|
|
2294
2611
|
|
|
2295
2612
|
/**
|
|
2296
|
-
* optional
|
|
2297
|
-
* @return {?proto.wechaty.puppet.
|
|
2613
|
+
* optional TagIdentifier tag = 1;
|
|
2614
|
+
* @return {?proto.wechaty.puppet.TagIdentifier}
|
|
2298
2615
|
*/
|
|
2299
|
-
proto.wechaty.puppet.TagTagAddResponse.prototype.
|
|
2300
|
-
return /** @type{?proto.wechaty.puppet.
|
|
2301
|
-
jspb.Message.getWrapperField(this, proto.wechaty.puppet.
|
|
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));
|
|
2302
2619
|
};
|
|
2303
2620
|
|
|
2304
2621
|
|
|
2305
2622
|
/**
|
|
2306
|
-
* @param {?proto.wechaty.puppet.
|
|
2623
|
+
* @param {?proto.wechaty.puppet.TagIdentifier|undefined} value
|
|
2307
2624
|
* @return {!proto.wechaty.puppet.TagTagAddResponse} returns this
|
|
2308
2625
|
*/
|
|
2309
|
-
proto.wechaty.puppet.TagTagAddResponse.prototype.
|
|
2626
|
+
proto.wechaty.puppet.TagTagAddResponse.prototype.setTag = function(value) {
|
|
2310
2627
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2311
2628
|
};
|
|
2312
2629
|
|
|
@@ -2315,8 +2632,8 @@ proto.wechaty.puppet.TagTagAddResponse.prototype.setPayload = function(value) {
|
|
|
2315
2632
|
* Clears the message field making it undefined.
|
|
2316
2633
|
* @return {!proto.wechaty.puppet.TagTagAddResponse} returns this
|
|
2317
2634
|
*/
|
|
2318
|
-
proto.wechaty.puppet.TagTagAddResponse.prototype.
|
|
2319
|
-
return this.
|
|
2635
|
+
proto.wechaty.puppet.TagTagAddResponse.prototype.clearTag = function() {
|
|
2636
|
+
return this.setTag(undefined);
|
|
2320
2637
|
};
|
|
2321
2638
|
|
|
2322
2639
|
|
|
@@ -2324,7 +2641,7 @@ proto.wechaty.puppet.TagTagAddResponse.prototype.clearPayload = function() {
|
|
|
2324
2641
|
* Returns whether this field is set.
|
|
2325
2642
|
* @return {boolean}
|
|
2326
2643
|
*/
|
|
2327
|
-
proto.wechaty.puppet.TagTagAddResponse.prototype.
|
|
2644
|
+
proto.wechaty.puppet.TagTagAddResponse.prototype.hasTag = function() {
|
|
2328
2645
|
return jspb.Message.getField(this, 1) != null;
|
|
2329
2646
|
};
|
|
2330
2647
|
|
|
@@ -2361,8 +2678,7 @@ proto.wechaty.puppet.TagTagDeleteRequest.prototype.toObject = function(opt_inclu
|
|
|
2361
2678
|
*/
|
|
2362
2679
|
proto.wechaty.puppet.TagTagDeleteRequest.toObject = function(includeInstance, msg) {
|
|
2363
2680
|
var f, obj = {
|
|
2364
|
-
|
|
2365
|
-
tagId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2681
|
+
tag: (f = msg.getTag()) && proto.wechaty.puppet.TagIdentifier.toObject(includeInstance, f)
|
|
2366
2682
|
};
|
|
2367
2683
|
|
|
2368
2684
|
if (includeInstance) {
|
|
@@ -2400,12 +2716,9 @@ proto.wechaty.puppet.TagTagDeleteRequest.deserializeBinaryFromReader = function(
|
|
|
2400
2716
|
var field = reader.getFieldNumber();
|
|
2401
2717
|
switch (field) {
|
|
2402
2718
|
case 1:
|
|
2403
|
-
var value =
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
case 2:
|
|
2407
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2408
|
-
msg.setTagId(value);
|
|
2719
|
+
var value = new proto.wechaty.puppet.TagIdentifier;
|
|
2720
|
+
reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
|
|
2721
|
+
msg.setTag(value);
|
|
2409
2722
|
break;
|
|
2410
2723
|
default:
|
|
2411
2724
|
reader.skipField();
|
|
@@ -2436,56 +2749,51 @@ proto.wechaty.puppet.TagTagDeleteRequest.prototype.serializeBinary = function()
|
|
|
2436
2749
|
*/
|
|
2437
2750
|
proto.wechaty.puppet.TagTagDeleteRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2438
2751
|
var f = undefined;
|
|
2439
|
-
f = message.
|
|
2440
|
-
if (f
|
|
2441
|
-
writer.
|
|
2752
|
+
f = message.getTag();
|
|
2753
|
+
if (f != null) {
|
|
2754
|
+
writer.writeMessage(
|
|
2442
2755
|
1,
|
|
2443
|
-
f
|
|
2444
|
-
|
|
2445
|
-
}
|
|
2446
|
-
f = message.getTagId();
|
|
2447
|
-
if (f.length > 0) {
|
|
2448
|
-
writer.writeString(
|
|
2449
|
-
2,
|
|
2450
|
-
f
|
|
2756
|
+
f,
|
|
2757
|
+
proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
|
|
2451
2758
|
);
|
|
2452
2759
|
}
|
|
2453
2760
|
};
|
|
2454
2761
|
|
|
2455
2762
|
|
|
2456
2763
|
/**
|
|
2457
|
-
* optional
|
|
2458
|
-
* @return {
|
|
2764
|
+
* optional TagIdentifier tag = 1;
|
|
2765
|
+
* @return {?proto.wechaty.puppet.TagIdentifier}
|
|
2459
2766
|
*/
|
|
2460
|
-
proto.wechaty.puppet.TagTagDeleteRequest.prototype.
|
|
2461
|
-
return /** @type
|
|
2767
|
+
proto.wechaty.puppet.TagTagDeleteRequest.prototype.getTag = function() {
|
|
2768
|
+
return /** @type{?proto.wechaty.puppet.TagIdentifier} */ (
|
|
2769
|
+
jspb.Message.getWrapperField(this, proto.wechaty.puppet.TagIdentifier, 1));
|
|
2462
2770
|
};
|
|
2463
2771
|
|
|
2464
2772
|
|
|
2465
2773
|
/**
|
|
2466
|
-
* @param {
|
|
2774
|
+
* @param {?proto.wechaty.puppet.TagIdentifier|undefined} value
|
|
2467
2775
|
* @return {!proto.wechaty.puppet.TagTagDeleteRequest} returns this
|
|
2468
|
-
|
|
2469
|
-
proto.wechaty.puppet.TagTagDeleteRequest.prototype.
|
|
2470
|
-
return jspb.Message.
|
|
2776
|
+
*/
|
|
2777
|
+
proto.wechaty.puppet.TagTagDeleteRequest.prototype.setTag = function(value) {
|
|
2778
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2471
2779
|
};
|
|
2472
2780
|
|
|
2473
2781
|
|
|
2474
2782
|
/**
|
|
2475
|
-
*
|
|
2476
|
-
* @return {
|
|
2783
|
+
* Clears the message field making it undefined.
|
|
2784
|
+
* @return {!proto.wechaty.puppet.TagTagDeleteRequest} returns this
|
|
2477
2785
|
*/
|
|
2478
|
-
proto.wechaty.puppet.TagTagDeleteRequest.prototype.
|
|
2479
|
-
return
|
|
2786
|
+
proto.wechaty.puppet.TagTagDeleteRequest.prototype.clearTag = function() {
|
|
2787
|
+
return this.setTag(undefined);
|
|
2480
2788
|
};
|
|
2481
2789
|
|
|
2482
2790
|
|
|
2483
2791
|
/**
|
|
2484
|
-
*
|
|
2485
|
-
* @return {
|
|
2792
|
+
* Returns whether this field is set.
|
|
2793
|
+
* @return {boolean}
|
|
2486
2794
|
*/
|
|
2487
|
-
proto.wechaty.puppet.TagTagDeleteRequest.prototype.
|
|
2488
|
-
return jspb.Message.
|
|
2795
|
+
proto.wechaty.puppet.TagTagDeleteRequest.prototype.hasTag = function() {
|
|
2796
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2489
2797
|
};
|
|
2490
2798
|
|
|
2491
2799
|
|
|
@@ -2573,7 +2881,508 @@ proto.wechaty.puppet.TagTagDeleteResponse.deserializeBinaryFromReader = function
|
|
|
2573
2881
|
*/
|
|
2574
2882
|
proto.wechaty.puppet.TagTagDeleteResponse.prototype.serializeBinary = function() {
|
|
2575
2883
|
var writer = new jspb.BinaryWriter();
|
|
2576
|
-
proto.wechaty.puppet.TagTagDeleteResponse.serializeBinaryToWriter(this, writer);
|
|
2884
|
+
proto.wechaty.puppet.TagTagDeleteResponse.serializeBinaryToWriter(this, writer);
|
|
2885
|
+
return writer.getResultBuffer();
|
|
2886
|
+
};
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
/**
|
|
2890
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2891
|
+
* format), writing to the given BinaryWriter.
|
|
2892
|
+
* @param {!proto.wechaty.puppet.TagTagDeleteResponse} message
|
|
2893
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2894
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2895
|
+
*/
|
|
2896
|
+
proto.wechaty.puppet.TagTagDeleteResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2897
|
+
var f = undefined;
|
|
2898
|
+
};
|
|
2899
|
+
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
|
|
2904
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2905
|
+
/**
|
|
2906
|
+
* Creates an object representation of this proto.
|
|
2907
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2908
|
+
* Optional fields that are not set will be set to undefined.
|
|
2909
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2910
|
+
* For the list of reserved names please see:
|
|
2911
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2912
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2913
|
+
* JSPB instance for transitional soy proto support:
|
|
2914
|
+
* http://goto/soy-param-migration
|
|
2915
|
+
* @return {!Object}
|
|
2916
|
+
*/
|
|
2917
|
+
proto.wechaty.puppet.TagGroupListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2918
|
+
return proto.wechaty.puppet.TagGroupListRequest.toObject(opt_includeInstance, this);
|
|
2919
|
+
};
|
|
2920
|
+
|
|
2921
|
+
|
|
2922
|
+
/**
|
|
2923
|
+
* Static version of the {@see toObject} method.
|
|
2924
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2925
|
+
* the JSPB instance for transitional soy proto support:
|
|
2926
|
+
* http://goto/soy-param-migration
|
|
2927
|
+
* @param {!proto.wechaty.puppet.TagGroupListRequest} msg The msg instance to transform.
|
|
2928
|
+
* @return {!Object}
|
|
2929
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2930
|
+
*/
|
|
2931
|
+
proto.wechaty.puppet.TagGroupListRequest.toObject = function(includeInstance, msg) {
|
|
2932
|
+
var f, obj = {
|
|
2933
|
+
|
|
2934
|
+
};
|
|
2935
|
+
|
|
2936
|
+
if (includeInstance) {
|
|
2937
|
+
obj.$jspbMessageInstance = msg;
|
|
2938
|
+
}
|
|
2939
|
+
return obj;
|
|
2940
|
+
};
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
|
|
2944
|
+
/**
|
|
2945
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2946
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2947
|
+
* @return {!proto.wechaty.puppet.TagGroupListRequest}
|
|
2948
|
+
*/
|
|
2949
|
+
proto.wechaty.puppet.TagGroupListRequest.deserializeBinary = function(bytes) {
|
|
2950
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2951
|
+
var msg = new proto.wechaty.puppet.TagGroupListRequest;
|
|
2952
|
+
return proto.wechaty.puppet.TagGroupListRequest.deserializeBinaryFromReader(msg, reader);
|
|
2953
|
+
};
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
/**
|
|
2957
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2958
|
+
* given reader into the given message object.
|
|
2959
|
+
* @param {!proto.wechaty.puppet.TagGroupListRequest} msg The message object to deserialize into.
|
|
2960
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2961
|
+
* @return {!proto.wechaty.puppet.TagGroupListRequest}
|
|
2962
|
+
*/
|
|
2963
|
+
proto.wechaty.puppet.TagGroupListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2964
|
+
while (reader.nextField()) {
|
|
2965
|
+
if (reader.isEndGroup()) {
|
|
2966
|
+
break;
|
|
2967
|
+
}
|
|
2968
|
+
var field = reader.getFieldNumber();
|
|
2969
|
+
switch (field) {
|
|
2970
|
+
default:
|
|
2971
|
+
reader.skipField();
|
|
2972
|
+
break;
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2975
|
+
return msg;
|
|
2976
|
+
};
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
/**
|
|
2980
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2981
|
+
* @return {!Uint8Array}
|
|
2982
|
+
*/
|
|
2983
|
+
proto.wechaty.puppet.TagGroupListRequest.prototype.serializeBinary = function() {
|
|
2984
|
+
var writer = new jspb.BinaryWriter();
|
|
2985
|
+
proto.wechaty.puppet.TagGroupListRequest.serializeBinaryToWriter(this, writer);
|
|
2986
|
+
return writer.getResultBuffer();
|
|
2987
|
+
};
|
|
2988
|
+
|
|
2989
|
+
|
|
2990
|
+
/**
|
|
2991
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2992
|
+
* format), writing to the given BinaryWriter.
|
|
2993
|
+
* @param {!proto.wechaty.puppet.TagGroupListRequest} message
|
|
2994
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2995
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2996
|
+
*/
|
|
2997
|
+
proto.wechaty.puppet.TagGroupListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2998
|
+
var f = undefined;
|
|
2999
|
+
};
|
|
3000
|
+
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
/**
|
|
3004
|
+
* List of repeated fields within this message type.
|
|
3005
|
+
* @private {!Array<number>}
|
|
3006
|
+
* @const
|
|
3007
|
+
*/
|
|
3008
|
+
proto.wechaty.puppet.TagGroupListResponse.repeatedFields_ = [1];
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
|
|
3012
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3013
|
+
/**
|
|
3014
|
+
* Creates an object representation of this proto.
|
|
3015
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3016
|
+
* Optional fields that are not set will be set to undefined.
|
|
3017
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3018
|
+
* For the list of reserved names please see:
|
|
3019
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3020
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3021
|
+
* JSPB instance for transitional soy proto support:
|
|
3022
|
+
* http://goto/soy-param-migration
|
|
3023
|
+
* @return {!Object}
|
|
3024
|
+
*/
|
|
3025
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3026
|
+
return proto.wechaty.puppet.TagGroupListResponse.toObject(opt_includeInstance, this);
|
|
3027
|
+
};
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
/**
|
|
3031
|
+
* Static version of the {@see toObject} method.
|
|
3032
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3033
|
+
* the JSPB instance for transitional soy proto support:
|
|
3034
|
+
* http://goto/soy-param-migration
|
|
3035
|
+
* @param {!proto.wechaty.puppet.TagGroupListResponse} msg The msg instance to transform.
|
|
3036
|
+
* @return {!Object}
|
|
3037
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3038
|
+
*/
|
|
3039
|
+
proto.wechaty.puppet.TagGroupListResponse.toObject = function(includeInstance, msg) {
|
|
3040
|
+
var f, obj = {
|
|
3041
|
+
tagGroupIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
3042
|
+
};
|
|
3043
|
+
|
|
3044
|
+
if (includeInstance) {
|
|
3045
|
+
obj.$jspbMessageInstance = msg;
|
|
3046
|
+
}
|
|
3047
|
+
return obj;
|
|
3048
|
+
};
|
|
3049
|
+
}
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
/**
|
|
3053
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3054
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3055
|
+
* @return {!proto.wechaty.puppet.TagGroupListResponse}
|
|
3056
|
+
*/
|
|
3057
|
+
proto.wechaty.puppet.TagGroupListResponse.deserializeBinary = function(bytes) {
|
|
3058
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3059
|
+
var msg = new proto.wechaty.puppet.TagGroupListResponse;
|
|
3060
|
+
return proto.wechaty.puppet.TagGroupListResponse.deserializeBinaryFromReader(msg, reader);
|
|
3061
|
+
};
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
/**
|
|
3065
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3066
|
+
* given reader into the given message object.
|
|
3067
|
+
* @param {!proto.wechaty.puppet.TagGroupListResponse} msg The message object to deserialize into.
|
|
3068
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3069
|
+
* @return {!proto.wechaty.puppet.TagGroupListResponse}
|
|
3070
|
+
*/
|
|
3071
|
+
proto.wechaty.puppet.TagGroupListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3072
|
+
while (reader.nextField()) {
|
|
3073
|
+
if (reader.isEndGroup()) {
|
|
3074
|
+
break;
|
|
3075
|
+
}
|
|
3076
|
+
var field = reader.getFieldNumber();
|
|
3077
|
+
switch (field) {
|
|
3078
|
+
case 1:
|
|
3079
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3080
|
+
msg.addTagGroupIds(value);
|
|
3081
|
+
break;
|
|
3082
|
+
default:
|
|
3083
|
+
reader.skipField();
|
|
3084
|
+
break;
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
return msg;
|
|
3088
|
+
};
|
|
3089
|
+
|
|
3090
|
+
|
|
3091
|
+
/**
|
|
3092
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3093
|
+
* @return {!Uint8Array}
|
|
3094
|
+
*/
|
|
3095
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.serializeBinary = function() {
|
|
3096
|
+
var writer = new jspb.BinaryWriter();
|
|
3097
|
+
proto.wechaty.puppet.TagGroupListResponse.serializeBinaryToWriter(this, writer);
|
|
3098
|
+
return writer.getResultBuffer();
|
|
3099
|
+
};
|
|
3100
|
+
|
|
3101
|
+
|
|
3102
|
+
/**
|
|
3103
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3104
|
+
* format), writing to the given BinaryWriter.
|
|
3105
|
+
* @param {!proto.wechaty.puppet.TagGroupListResponse} message
|
|
3106
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3107
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3108
|
+
*/
|
|
3109
|
+
proto.wechaty.puppet.TagGroupListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3110
|
+
var f = undefined;
|
|
3111
|
+
f = message.getTagGroupIdsList();
|
|
3112
|
+
if (f.length > 0) {
|
|
3113
|
+
writer.writeRepeatedString(
|
|
3114
|
+
1,
|
|
3115
|
+
f
|
|
3116
|
+
);
|
|
3117
|
+
}
|
|
3118
|
+
};
|
|
3119
|
+
|
|
3120
|
+
|
|
3121
|
+
/**
|
|
3122
|
+
* repeated string tag_group_ids = 1;
|
|
3123
|
+
* @return {!Array<string>}
|
|
3124
|
+
*/
|
|
3125
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.getTagGroupIdsList = function() {
|
|
3126
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
3127
|
+
};
|
|
3128
|
+
|
|
3129
|
+
|
|
3130
|
+
/**
|
|
3131
|
+
* @param {!Array<string>} value
|
|
3132
|
+
* @return {!proto.wechaty.puppet.TagGroupListResponse} returns this
|
|
3133
|
+
*/
|
|
3134
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.setTagGroupIdsList = function(value) {
|
|
3135
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
3136
|
+
};
|
|
3137
|
+
|
|
3138
|
+
|
|
3139
|
+
/**
|
|
3140
|
+
* @param {string} value
|
|
3141
|
+
* @param {number=} opt_index
|
|
3142
|
+
* @return {!proto.wechaty.puppet.TagGroupListResponse} returns this
|
|
3143
|
+
*/
|
|
3144
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.addTagGroupIds = function(value, opt_index) {
|
|
3145
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
3146
|
+
};
|
|
3147
|
+
|
|
3148
|
+
|
|
3149
|
+
/**
|
|
3150
|
+
* Clears the list making it empty but non-null.
|
|
3151
|
+
* @return {!proto.wechaty.puppet.TagGroupListResponse} returns this
|
|
3152
|
+
*/
|
|
3153
|
+
proto.wechaty.puppet.TagGroupListResponse.prototype.clearTagGroupIdsList = function() {
|
|
3154
|
+
return this.setTagGroupIdsList([]);
|
|
3155
|
+
};
|
|
3156
|
+
|
|
3157
|
+
|
|
3158
|
+
|
|
3159
|
+
|
|
3160
|
+
|
|
3161
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3162
|
+
/**
|
|
3163
|
+
* Creates an object representation of this proto.
|
|
3164
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3165
|
+
* Optional fields that are not set will be set to undefined.
|
|
3166
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3167
|
+
* For the list of reserved names please see:
|
|
3168
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3169
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3170
|
+
* JSPB instance for transitional soy proto support:
|
|
3171
|
+
* http://goto/soy-param-migration
|
|
3172
|
+
* @return {!Object}
|
|
3173
|
+
*/
|
|
3174
|
+
proto.wechaty.puppet.TagGroupTagListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3175
|
+
return proto.wechaty.puppet.TagGroupTagListRequest.toObject(opt_includeInstance, this);
|
|
3176
|
+
};
|
|
3177
|
+
|
|
3178
|
+
|
|
3179
|
+
/**
|
|
3180
|
+
* Static version of the {@see toObject} method.
|
|
3181
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3182
|
+
* the JSPB instance for transitional soy proto support:
|
|
3183
|
+
* http://goto/soy-param-migration
|
|
3184
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListRequest} msg The msg instance to transform.
|
|
3185
|
+
* @return {!Object}
|
|
3186
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3187
|
+
*/
|
|
3188
|
+
proto.wechaty.puppet.TagGroupTagListRequest.toObject = function(includeInstance, msg) {
|
|
3189
|
+
var f, obj = {
|
|
3190
|
+
tagGroupId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3191
|
+
};
|
|
3192
|
+
|
|
3193
|
+
if (includeInstance) {
|
|
3194
|
+
obj.$jspbMessageInstance = msg;
|
|
3195
|
+
}
|
|
3196
|
+
return obj;
|
|
3197
|
+
};
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
|
|
3201
|
+
/**
|
|
3202
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3203
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3204
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListRequest}
|
|
3205
|
+
*/
|
|
3206
|
+
proto.wechaty.puppet.TagGroupTagListRequest.deserializeBinary = function(bytes) {
|
|
3207
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3208
|
+
var msg = new proto.wechaty.puppet.TagGroupTagListRequest;
|
|
3209
|
+
return proto.wechaty.puppet.TagGroupTagListRequest.deserializeBinaryFromReader(msg, reader);
|
|
3210
|
+
};
|
|
3211
|
+
|
|
3212
|
+
|
|
3213
|
+
/**
|
|
3214
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3215
|
+
* given reader into the given message object.
|
|
3216
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListRequest} msg The message object to deserialize into.
|
|
3217
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3218
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListRequest}
|
|
3219
|
+
*/
|
|
3220
|
+
proto.wechaty.puppet.TagGroupTagListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3221
|
+
while (reader.nextField()) {
|
|
3222
|
+
if (reader.isEndGroup()) {
|
|
3223
|
+
break;
|
|
3224
|
+
}
|
|
3225
|
+
var field = reader.getFieldNumber();
|
|
3226
|
+
switch (field) {
|
|
3227
|
+
case 1:
|
|
3228
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3229
|
+
msg.setTagGroupId(value);
|
|
3230
|
+
break;
|
|
3231
|
+
default:
|
|
3232
|
+
reader.skipField();
|
|
3233
|
+
break;
|
|
3234
|
+
}
|
|
3235
|
+
}
|
|
3236
|
+
return msg;
|
|
3237
|
+
};
|
|
3238
|
+
|
|
3239
|
+
|
|
3240
|
+
/**
|
|
3241
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3242
|
+
* @return {!Uint8Array}
|
|
3243
|
+
*/
|
|
3244
|
+
proto.wechaty.puppet.TagGroupTagListRequest.prototype.serializeBinary = function() {
|
|
3245
|
+
var writer = new jspb.BinaryWriter();
|
|
3246
|
+
proto.wechaty.puppet.TagGroupTagListRequest.serializeBinaryToWriter(this, writer);
|
|
3247
|
+
return writer.getResultBuffer();
|
|
3248
|
+
};
|
|
3249
|
+
|
|
3250
|
+
|
|
3251
|
+
/**
|
|
3252
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3253
|
+
* format), writing to the given BinaryWriter.
|
|
3254
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListRequest} message
|
|
3255
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3256
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3257
|
+
*/
|
|
3258
|
+
proto.wechaty.puppet.TagGroupTagListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3259
|
+
var f = undefined;
|
|
3260
|
+
f = message.getTagGroupId();
|
|
3261
|
+
if (f.length > 0) {
|
|
3262
|
+
writer.writeString(
|
|
3263
|
+
1,
|
|
3264
|
+
f
|
|
3265
|
+
);
|
|
3266
|
+
}
|
|
3267
|
+
};
|
|
3268
|
+
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
* optional string tag_group_id = 1;
|
|
3272
|
+
* @return {string}
|
|
3273
|
+
*/
|
|
3274
|
+
proto.wechaty.puppet.TagGroupTagListRequest.prototype.getTagGroupId = function() {
|
|
3275
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3276
|
+
};
|
|
3277
|
+
|
|
3278
|
+
|
|
3279
|
+
/**
|
|
3280
|
+
* @param {string} value
|
|
3281
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListRequest} returns this
|
|
3282
|
+
*/
|
|
3283
|
+
proto.wechaty.puppet.TagGroupTagListRequest.prototype.setTagGroupId = function(value) {
|
|
3284
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3285
|
+
};
|
|
3286
|
+
|
|
3287
|
+
|
|
3288
|
+
|
|
3289
|
+
/**
|
|
3290
|
+
* List of repeated fields within this message type.
|
|
3291
|
+
* @private {!Array<number>}
|
|
3292
|
+
* @const
|
|
3293
|
+
*/
|
|
3294
|
+
proto.wechaty.puppet.TagGroupTagListResponse.repeatedFields_ = [1];
|
|
3295
|
+
|
|
3296
|
+
|
|
3297
|
+
|
|
3298
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3299
|
+
/**
|
|
3300
|
+
* Creates an object representation of this proto.
|
|
3301
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3302
|
+
* Optional fields that are not set will be set to undefined.
|
|
3303
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3304
|
+
* For the list of reserved names please see:
|
|
3305
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3306
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3307
|
+
* JSPB instance for transitional soy proto support:
|
|
3308
|
+
* http://goto/soy-param-migration
|
|
3309
|
+
* @return {!Object}
|
|
3310
|
+
*/
|
|
3311
|
+
proto.wechaty.puppet.TagGroupTagListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3312
|
+
return proto.wechaty.puppet.TagGroupTagListResponse.toObject(opt_includeInstance, this);
|
|
3313
|
+
};
|
|
3314
|
+
|
|
3315
|
+
|
|
3316
|
+
/**
|
|
3317
|
+
* Static version of the {@see toObject} method.
|
|
3318
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3319
|
+
* the JSPB instance for transitional soy proto support:
|
|
3320
|
+
* http://goto/soy-param-migration
|
|
3321
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListResponse} msg The msg instance to transform.
|
|
3322
|
+
* @return {!Object}
|
|
3323
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3324
|
+
*/
|
|
3325
|
+
proto.wechaty.puppet.TagGroupTagListResponse.toObject = function(includeInstance, msg) {
|
|
3326
|
+
var f, obj = {
|
|
3327
|
+
tagsList: jspb.Message.toObjectList(msg.getTagsList(),
|
|
3328
|
+
proto.wechaty.puppet.TagIdentifier.toObject, includeInstance)
|
|
3329
|
+
};
|
|
3330
|
+
|
|
3331
|
+
if (includeInstance) {
|
|
3332
|
+
obj.$jspbMessageInstance = msg;
|
|
3333
|
+
}
|
|
3334
|
+
return obj;
|
|
3335
|
+
};
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
|
|
3339
|
+
/**
|
|
3340
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3341
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3342
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListResponse}
|
|
3343
|
+
*/
|
|
3344
|
+
proto.wechaty.puppet.TagGroupTagListResponse.deserializeBinary = function(bytes) {
|
|
3345
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3346
|
+
var msg = new proto.wechaty.puppet.TagGroupTagListResponse;
|
|
3347
|
+
return proto.wechaty.puppet.TagGroupTagListResponse.deserializeBinaryFromReader(msg, reader);
|
|
3348
|
+
};
|
|
3349
|
+
|
|
3350
|
+
|
|
3351
|
+
/**
|
|
3352
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3353
|
+
* given reader into the given message object.
|
|
3354
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListResponse} msg The message object to deserialize into.
|
|
3355
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3356
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListResponse}
|
|
3357
|
+
*/
|
|
3358
|
+
proto.wechaty.puppet.TagGroupTagListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3359
|
+
while (reader.nextField()) {
|
|
3360
|
+
if (reader.isEndGroup()) {
|
|
3361
|
+
break;
|
|
3362
|
+
}
|
|
3363
|
+
var field = reader.getFieldNumber();
|
|
3364
|
+
switch (field) {
|
|
3365
|
+
case 1:
|
|
3366
|
+
var value = new proto.wechaty.puppet.TagIdentifier;
|
|
3367
|
+
reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
|
|
3368
|
+
msg.addTags(value);
|
|
3369
|
+
break;
|
|
3370
|
+
default:
|
|
3371
|
+
reader.skipField();
|
|
3372
|
+
break;
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
return msg;
|
|
3376
|
+
};
|
|
3377
|
+
|
|
3378
|
+
|
|
3379
|
+
/**
|
|
3380
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3381
|
+
* @return {!Uint8Array}
|
|
3382
|
+
*/
|
|
3383
|
+
proto.wechaty.puppet.TagGroupTagListResponse.prototype.serializeBinary = function() {
|
|
3384
|
+
var writer = new jspb.BinaryWriter();
|
|
3385
|
+
proto.wechaty.puppet.TagGroupTagListResponse.serializeBinaryToWriter(this, writer);
|
|
2577
3386
|
return writer.getResultBuffer();
|
|
2578
3387
|
};
|
|
2579
3388
|
|
|
@@ -2581,12 +3390,58 @@ proto.wechaty.puppet.TagTagDeleteResponse.prototype.serializeBinary = function()
|
|
|
2581
3390
|
/**
|
|
2582
3391
|
* Serializes the given message to binary data (in protobuf wire
|
|
2583
3392
|
* format), writing to the given BinaryWriter.
|
|
2584
|
-
* @param {!proto.wechaty.puppet.
|
|
3393
|
+
* @param {!proto.wechaty.puppet.TagGroupTagListResponse} message
|
|
2585
3394
|
* @param {!jspb.BinaryWriter} writer
|
|
2586
3395
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2587
3396
|
*/
|
|
2588
|
-
proto.wechaty.puppet.
|
|
3397
|
+
proto.wechaty.puppet.TagGroupTagListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2589
3398
|
var f = undefined;
|
|
3399
|
+
f = message.getTagsList();
|
|
3400
|
+
if (f.length > 0) {
|
|
3401
|
+
writer.writeRepeatedMessage(
|
|
3402
|
+
1,
|
|
3403
|
+
f,
|
|
3404
|
+
proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
|
|
3405
|
+
);
|
|
3406
|
+
}
|
|
3407
|
+
};
|
|
3408
|
+
|
|
3409
|
+
|
|
3410
|
+
/**
|
|
3411
|
+
* repeated TagIdentifier tags = 1;
|
|
3412
|
+
* @return {!Array<!proto.wechaty.puppet.TagIdentifier>}
|
|
3413
|
+
*/
|
|
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));
|
|
3417
|
+
};
|
|
3418
|
+
|
|
3419
|
+
|
|
3420
|
+
/**
|
|
3421
|
+
* @param {!Array<!proto.wechaty.puppet.TagIdentifier>} value
|
|
3422
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListResponse} returns this
|
|
3423
|
+
*/
|
|
3424
|
+
proto.wechaty.puppet.TagGroupTagListResponse.prototype.setTagsList = function(value) {
|
|
3425
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3426
|
+
};
|
|
3427
|
+
|
|
3428
|
+
|
|
3429
|
+
/**
|
|
3430
|
+
* @param {!proto.wechaty.puppet.TagIdentifier=} opt_value
|
|
3431
|
+
* @param {number=} opt_index
|
|
3432
|
+
* @return {!proto.wechaty.puppet.TagIdentifier}
|
|
3433
|
+
*/
|
|
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);
|
|
3436
|
+
};
|
|
3437
|
+
|
|
3438
|
+
|
|
3439
|
+
/**
|
|
3440
|
+
* Clears the list making it empty but non-null.
|
|
3441
|
+
* @return {!proto.wechaty.puppet.TagGroupTagListResponse} returns this
|
|
3442
|
+
*/
|
|
3443
|
+
proto.wechaty.puppet.TagGroupTagListResponse.prototype.clearTagsList = function() {
|
|
3444
|
+
return this.setTagsList([]);
|
|
2590
3445
|
};
|
|
2591
3446
|
|
|
2592
3447
|
|
|
@@ -2606,8 +3461,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2606
3461
|
* http://goto/soy-param-migration
|
|
2607
3462
|
* @return {!Object}
|
|
2608
3463
|
*/
|
|
2609
|
-
proto.wechaty.puppet.
|
|
2610
|
-
return proto.wechaty.puppet.
|
|
3464
|
+
proto.wechaty.puppet.TagTagListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3465
|
+
return proto.wechaty.puppet.TagTagListRequest.toObject(opt_includeInstance, this);
|
|
2611
3466
|
};
|
|
2612
3467
|
|
|
2613
3468
|
|
|
@@ -2616,11 +3471,11 @@ proto.wechaty.puppet.TagGroupListRequest.prototype.toObject = function(opt_inclu
|
|
|
2616
3471
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2617
3472
|
* the JSPB instance for transitional soy proto support:
|
|
2618
3473
|
* http://goto/soy-param-migration
|
|
2619
|
-
* @param {!proto.wechaty.puppet.
|
|
3474
|
+
* @param {!proto.wechaty.puppet.TagTagListRequest} msg The msg instance to transform.
|
|
2620
3475
|
* @return {!Object}
|
|
2621
3476
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2622
3477
|
*/
|
|
2623
|
-
proto.wechaty.puppet.
|
|
3478
|
+
proto.wechaty.puppet.TagTagListRequest.toObject = function(includeInstance, msg) {
|
|
2624
3479
|
var f, obj = {
|
|
2625
3480
|
|
|
2626
3481
|
};
|
|
@@ -2636,23 +3491,23 @@ proto.wechaty.puppet.TagGroupListRequest.toObject = function(includeInstance, ms
|
|
|
2636
3491
|
/**
|
|
2637
3492
|
* Deserializes binary data (in protobuf wire format).
|
|
2638
3493
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2639
|
-
* @return {!proto.wechaty.puppet.
|
|
3494
|
+
* @return {!proto.wechaty.puppet.TagTagListRequest}
|
|
2640
3495
|
*/
|
|
2641
|
-
proto.wechaty.puppet.
|
|
3496
|
+
proto.wechaty.puppet.TagTagListRequest.deserializeBinary = function(bytes) {
|
|
2642
3497
|
var reader = new jspb.BinaryReader(bytes);
|
|
2643
|
-
var msg = new proto.wechaty.puppet.
|
|
2644
|
-
return proto.wechaty.puppet.
|
|
3498
|
+
var msg = new proto.wechaty.puppet.TagTagListRequest;
|
|
3499
|
+
return proto.wechaty.puppet.TagTagListRequest.deserializeBinaryFromReader(msg, reader);
|
|
2645
3500
|
};
|
|
2646
3501
|
|
|
2647
3502
|
|
|
2648
3503
|
/**
|
|
2649
3504
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2650
3505
|
* given reader into the given message object.
|
|
2651
|
-
* @param {!proto.wechaty.puppet.
|
|
3506
|
+
* @param {!proto.wechaty.puppet.TagTagListRequest} msg The message object to deserialize into.
|
|
2652
3507
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2653
|
-
* @return {!proto.wechaty.puppet.
|
|
3508
|
+
* @return {!proto.wechaty.puppet.TagTagListRequest}
|
|
2654
3509
|
*/
|
|
2655
|
-
proto.wechaty.puppet.
|
|
3510
|
+
proto.wechaty.puppet.TagTagListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2656
3511
|
while (reader.nextField()) {
|
|
2657
3512
|
if (reader.isEndGroup()) {
|
|
2658
3513
|
break;
|
|
@@ -2672,9 +3527,9 @@ proto.wechaty.puppet.TagGroupListRequest.deserializeBinaryFromReader = function(
|
|
|
2672
3527
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2673
3528
|
* @return {!Uint8Array}
|
|
2674
3529
|
*/
|
|
2675
|
-
proto.wechaty.puppet.
|
|
3530
|
+
proto.wechaty.puppet.TagTagListRequest.prototype.serializeBinary = function() {
|
|
2676
3531
|
var writer = new jspb.BinaryWriter();
|
|
2677
|
-
proto.wechaty.puppet.
|
|
3532
|
+
proto.wechaty.puppet.TagTagListRequest.serializeBinaryToWriter(this, writer);
|
|
2678
3533
|
return writer.getResultBuffer();
|
|
2679
3534
|
};
|
|
2680
3535
|
|
|
@@ -2682,11 +3537,11 @@ proto.wechaty.puppet.TagGroupListRequest.prototype.serializeBinary = function()
|
|
|
2682
3537
|
/**
|
|
2683
3538
|
* Serializes the given message to binary data (in protobuf wire
|
|
2684
3539
|
* format), writing to the given BinaryWriter.
|
|
2685
|
-
* @param {!proto.wechaty.puppet.
|
|
3540
|
+
* @param {!proto.wechaty.puppet.TagTagListRequest} message
|
|
2686
3541
|
* @param {!jspb.BinaryWriter} writer
|
|
2687
3542
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2688
3543
|
*/
|
|
2689
|
-
proto.wechaty.puppet.
|
|
3544
|
+
proto.wechaty.puppet.TagTagListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2690
3545
|
var f = undefined;
|
|
2691
3546
|
};
|
|
2692
3547
|
|
|
@@ -2697,7 +3552,7 @@ proto.wechaty.puppet.TagGroupListRequest.serializeBinaryToWriter = function(mess
|
|
|
2697
3552
|
* @private {!Array<number>}
|
|
2698
3553
|
* @const
|
|
2699
3554
|
*/
|
|
2700
|
-
proto.wechaty.puppet.
|
|
3555
|
+
proto.wechaty.puppet.TagTagListResponse.repeatedFields_ = [1];
|
|
2701
3556
|
|
|
2702
3557
|
|
|
2703
3558
|
|
|
@@ -2714,8 +3569,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2714
3569
|
* http://goto/soy-param-migration
|
|
2715
3570
|
* @return {!Object}
|
|
2716
3571
|
*/
|
|
2717
|
-
proto.wechaty.puppet.
|
|
2718
|
-
return proto.wechaty.puppet.
|
|
3572
|
+
proto.wechaty.puppet.TagTagListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3573
|
+
return proto.wechaty.puppet.TagTagListResponse.toObject(opt_includeInstance, this);
|
|
2719
3574
|
};
|
|
2720
3575
|
|
|
2721
3576
|
|
|
@@ -2724,14 +3579,14 @@ proto.wechaty.puppet.TagGroupListResponse.prototype.toObject = function(opt_incl
|
|
|
2724
3579
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2725
3580
|
* the JSPB instance for transitional soy proto support:
|
|
2726
3581
|
* http://goto/soy-param-migration
|
|
2727
|
-
* @param {!proto.wechaty.puppet.
|
|
3582
|
+
* @param {!proto.wechaty.puppet.TagTagListResponse} msg The msg instance to transform.
|
|
2728
3583
|
* @return {!Object}
|
|
2729
3584
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2730
3585
|
*/
|
|
2731
|
-
proto.wechaty.puppet.
|
|
3586
|
+
proto.wechaty.puppet.TagTagListResponse.toObject = function(includeInstance, msg) {
|
|
2732
3587
|
var f, obj = {
|
|
2733
|
-
|
|
2734
|
-
proto.wechaty.puppet.
|
|
3588
|
+
tagsList: jspb.Message.toObjectList(msg.getTagsList(),
|
|
3589
|
+
proto.wechaty.puppet.TagIdentifier.toObject, includeInstance)
|
|
2735
3590
|
};
|
|
2736
3591
|
|
|
2737
3592
|
if (includeInstance) {
|
|
@@ -2745,23 +3600,23 @@ proto.wechaty.puppet.TagGroupListResponse.toObject = function(includeInstance, m
|
|
|
2745
3600
|
/**
|
|
2746
3601
|
* Deserializes binary data (in protobuf wire format).
|
|
2747
3602
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2748
|
-
* @return {!proto.wechaty.puppet.
|
|
3603
|
+
* @return {!proto.wechaty.puppet.TagTagListResponse}
|
|
2749
3604
|
*/
|
|
2750
|
-
proto.wechaty.puppet.
|
|
3605
|
+
proto.wechaty.puppet.TagTagListResponse.deserializeBinary = function(bytes) {
|
|
2751
3606
|
var reader = new jspb.BinaryReader(bytes);
|
|
2752
|
-
var msg = new proto.wechaty.puppet.
|
|
2753
|
-
return proto.wechaty.puppet.
|
|
3607
|
+
var msg = new proto.wechaty.puppet.TagTagListResponse;
|
|
3608
|
+
return proto.wechaty.puppet.TagTagListResponse.deserializeBinaryFromReader(msg, reader);
|
|
2754
3609
|
};
|
|
2755
3610
|
|
|
2756
3611
|
|
|
2757
3612
|
/**
|
|
2758
3613
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2759
3614
|
* given reader into the given message object.
|
|
2760
|
-
* @param {!proto.wechaty.puppet.
|
|
3615
|
+
* @param {!proto.wechaty.puppet.TagTagListResponse} msg The message object to deserialize into.
|
|
2761
3616
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2762
|
-
* @return {!proto.wechaty.puppet.
|
|
3617
|
+
* @return {!proto.wechaty.puppet.TagTagListResponse}
|
|
2763
3618
|
*/
|
|
2764
|
-
proto.wechaty.puppet.
|
|
3619
|
+
proto.wechaty.puppet.TagTagListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2765
3620
|
while (reader.nextField()) {
|
|
2766
3621
|
if (reader.isEndGroup()) {
|
|
2767
3622
|
break;
|
|
@@ -2769,9 +3624,9 @@ proto.wechaty.puppet.TagGroupListResponse.deserializeBinaryFromReader = function
|
|
|
2769
3624
|
var field = reader.getFieldNumber();
|
|
2770
3625
|
switch (field) {
|
|
2771
3626
|
case 1:
|
|
2772
|
-
var value = new proto.wechaty.puppet.
|
|
2773
|
-
reader.readMessage(value,proto.wechaty.puppet.
|
|
2774
|
-
msg.
|
|
3627
|
+
var value = new proto.wechaty.puppet.TagIdentifier;
|
|
3628
|
+
reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
|
|
3629
|
+
msg.addTags(value);
|
|
2775
3630
|
break;
|
|
2776
3631
|
default:
|
|
2777
3632
|
reader.skipField();
|
|
@@ -2786,9 +3641,9 @@ proto.wechaty.puppet.TagGroupListResponse.deserializeBinaryFromReader = function
|
|
|
2786
3641
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2787
3642
|
* @return {!Uint8Array}
|
|
2788
3643
|
*/
|
|
2789
|
-
proto.wechaty.puppet.
|
|
3644
|
+
proto.wechaty.puppet.TagTagListResponse.prototype.serializeBinary = function() {
|
|
2790
3645
|
var writer = new jspb.BinaryWriter();
|
|
2791
|
-
proto.wechaty.puppet.
|
|
3646
|
+
proto.wechaty.puppet.TagTagListResponse.serializeBinaryToWriter(this, writer);
|
|
2792
3647
|
return writer.getResultBuffer();
|
|
2793
3648
|
};
|
|
2794
3649
|
|
|
@@ -2796,58 +3651,58 @@ proto.wechaty.puppet.TagGroupListResponse.prototype.serializeBinary = function()
|
|
|
2796
3651
|
/**
|
|
2797
3652
|
* Serializes the given message to binary data (in protobuf wire
|
|
2798
3653
|
* format), writing to the given BinaryWriter.
|
|
2799
|
-
* @param {!proto.wechaty.puppet.
|
|
3654
|
+
* @param {!proto.wechaty.puppet.TagTagListResponse} message
|
|
2800
3655
|
* @param {!jspb.BinaryWriter} writer
|
|
2801
3656
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2802
3657
|
*/
|
|
2803
|
-
proto.wechaty.puppet.
|
|
3658
|
+
proto.wechaty.puppet.TagTagListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2804
3659
|
var f = undefined;
|
|
2805
|
-
f = message.
|
|
3660
|
+
f = message.getTagsList();
|
|
2806
3661
|
if (f.length > 0) {
|
|
2807
3662
|
writer.writeRepeatedMessage(
|
|
2808
3663
|
1,
|
|
2809
3664
|
f,
|
|
2810
|
-
proto.wechaty.puppet.
|
|
3665
|
+
proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
|
|
2811
3666
|
);
|
|
2812
3667
|
}
|
|
2813
3668
|
};
|
|
2814
3669
|
|
|
2815
3670
|
|
|
2816
3671
|
/**
|
|
2817
|
-
* repeated
|
|
2818
|
-
* @return {!Array<!proto.wechaty.puppet.
|
|
3672
|
+
* repeated TagIdentifier tags = 1;
|
|
3673
|
+
* @return {!Array<!proto.wechaty.puppet.TagIdentifier>}
|
|
2819
3674
|
*/
|
|
2820
|
-
proto.wechaty.puppet.
|
|
2821
|
-
return /** @type{!Array<!proto.wechaty.puppet.
|
|
2822
|
-
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.
|
|
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));
|
|
2823
3678
|
};
|
|
2824
3679
|
|
|
2825
3680
|
|
|
2826
3681
|
/**
|
|
2827
|
-
* @param {!Array<!proto.wechaty.puppet.
|
|
2828
|
-
* @return {!proto.wechaty.puppet.
|
|
3682
|
+
* @param {!Array<!proto.wechaty.puppet.TagIdentifier>} value
|
|
3683
|
+
* @return {!proto.wechaty.puppet.TagTagListResponse} returns this
|
|
2829
3684
|
*/
|
|
2830
|
-
proto.wechaty.puppet.
|
|
3685
|
+
proto.wechaty.puppet.TagTagListResponse.prototype.setTagsList = function(value) {
|
|
2831
3686
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2832
3687
|
};
|
|
2833
3688
|
|
|
2834
3689
|
|
|
2835
3690
|
/**
|
|
2836
|
-
* @param {!proto.wechaty.puppet.
|
|
3691
|
+
* @param {!proto.wechaty.puppet.TagIdentifier=} opt_value
|
|
2837
3692
|
* @param {number=} opt_index
|
|
2838
|
-
* @return {!proto.wechaty.puppet.
|
|
3693
|
+
* @return {!proto.wechaty.puppet.TagIdentifier}
|
|
2839
3694
|
*/
|
|
2840
|
-
proto.wechaty.puppet.
|
|
2841
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.
|
|
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);
|
|
2842
3697
|
};
|
|
2843
3698
|
|
|
2844
3699
|
|
|
2845
3700
|
/**
|
|
2846
3701
|
* Clears the list making it empty but non-null.
|
|
2847
|
-
* @return {!proto.wechaty.puppet.
|
|
3702
|
+
* @return {!proto.wechaty.puppet.TagTagListResponse} returns this
|
|
2848
3703
|
*/
|
|
2849
|
-
proto.wechaty.puppet.
|
|
2850
|
-
return this.
|
|
3704
|
+
proto.wechaty.puppet.TagTagListResponse.prototype.clearTagsList = function() {
|
|
3705
|
+
return this.setTagsList([]);
|
|
2851
3706
|
};
|
|
2852
3707
|
|
|
2853
3708
|
|
|
@@ -2867,8 +3722,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2867
3722
|
* http://goto/soy-param-migration
|
|
2868
3723
|
* @return {!Object}
|
|
2869
3724
|
*/
|
|
2870
|
-
proto.wechaty.puppet.
|
|
2871
|
-
return proto.wechaty.puppet.
|
|
3725
|
+
proto.wechaty.puppet.TagContactTagListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3726
|
+
return proto.wechaty.puppet.TagContactTagListRequest.toObject(opt_includeInstance, this);
|
|
2872
3727
|
};
|
|
2873
3728
|
|
|
2874
3729
|
|
|
@@ -2877,13 +3732,13 @@ proto.wechaty.puppet.TagGroupTagListRequest.prototype.toObject = function(opt_in
|
|
|
2877
3732
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2878
3733
|
* the JSPB instance for transitional soy proto support:
|
|
2879
3734
|
* http://goto/soy-param-migration
|
|
2880
|
-
* @param {!proto.wechaty.puppet.
|
|
3735
|
+
* @param {!proto.wechaty.puppet.TagContactTagListRequest} msg The msg instance to transform.
|
|
2881
3736
|
* @return {!Object}
|
|
2882
3737
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2883
3738
|
*/
|
|
2884
|
-
proto.wechaty.puppet.
|
|
3739
|
+
proto.wechaty.puppet.TagContactTagListRequest.toObject = function(includeInstance, msg) {
|
|
2885
3740
|
var f, obj = {
|
|
2886
|
-
|
|
3741
|
+
contactId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2887
3742
|
};
|
|
2888
3743
|
|
|
2889
3744
|
if (includeInstance) {
|
|
@@ -2897,23 +3752,23 @@ proto.wechaty.puppet.TagGroupTagListRequest.toObject = function(includeInstance,
|
|
|
2897
3752
|
/**
|
|
2898
3753
|
* Deserializes binary data (in protobuf wire format).
|
|
2899
3754
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2900
|
-
* @return {!proto.wechaty.puppet.
|
|
3755
|
+
* @return {!proto.wechaty.puppet.TagContactTagListRequest}
|
|
2901
3756
|
*/
|
|
2902
|
-
proto.wechaty.puppet.
|
|
3757
|
+
proto.wechaty.puppet.TagContactTagListRequest.deserializeBinary = function(bytes) {
|
|
2903
3758
|
var reader = new jspb.BinaryReader(bytes);
|
|
2904
|
-
var msg = new proto.wechaty.puppet.
|
|
2905
|
-
return proto.wechaty.puppet.
|
|
3759
|
+
var msg = new proto.wechaty.puppet.TagContactTagListRequest;
|
|
3760
|
+
return proto.wechaty.puppet.TagContactTagListRequest.deserializeBinaryFromReader(msg, reader);
|
|
2906
3761
|
};
|
|
2907
3762
|
|
|
2908
3763
|
|
|
2909
3764
|
/**
|
|
2910
3765
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2911
3766
|
* given reader into the given message object.
|
|
2912
|
-
* @param {!proto.wechaty.puppet.
|
|
3767
|
+
* @param {!proto.wechaty.puppet.TagContactTagListRequest} msg The message object to deserialize into.
|
|
2913
3768
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2914
|
-
* @return {!proto.wechaty.puppet.
|
|
3769
|
+
* @return {!proto.wechaty.puppet.TagContactTagListRequest}
|
|
2915
3770
|
*/
|
|
2916
|
-
proto.wechaty.puppet.
|
|
3771
|
+
proto.wechaty.puppet.TagContactTagListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2917
3772
|
while (reader.nextField()) {
|
|
2918
3773
|
if (reader.isEndGroup()) {
|
|
2919
3774
|
break;
|
|
@@ -2922,7 +3777,7 @@ proto.wechaty.puppet.TagGroupTagListRequest.deserializeBinaryFromReader = functi
|
|
|
2922
3777
|
switch (field) {
|
|
2923
3778
|
case 1:
|
|
2924
3779
|
var value = /** @type {string} */ (reader.readString());
|
|
2925
|
-
msg.
|
|
3780
|
+
msg.setContactId(value);
|
|
2926
3781
|
break;
|
|
2927
3782
|
default:
|
|
2928
3783
|
reader.skipField();
|
|
@@ -2937,9 +3792,9 @@ proto.wechaty.puppet.TagGroupTagListRequest.deserializeBinaryFromReader = functi
|
|
|
2937
3792
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2938
3793
|
* @return {!Uint8Array}
|
|
2939
3794
|
*/
|
|
2940
|
-
proto.wechaty.puppet.
|
|
3795
|
+
proto.wechaty.puppet.TagContactTagListRequest.prototype.serializeBinary = function() {
|
|
2941
3796
|
var writer = new jspb.BinaryWriter();
|
|
2942
|
-
proto.wechaty.puppet.
|
|
3797
|
+
proto.wechaty.puppet.TagContactTagListRequest.serializeBinaryToWriter(this, writer);
|
|
2943
3798
|
return writer.getResultBuffer();
|
|
2944
3799
|
};
|
|
2945
3800
|
|
|
@@ -2947,13 +3802,13 @@ proto.wechaty.puppet.TagGroupTagListRequest.prototype.serializeBinary = function
|
|
|
2947
3802
|
/**
|
|
2948
3803
|
* Serializes the given message to binary data (in protobuf wire
|
|
2949
3804
|
* format), writing to the given BinaryWriter.
|
|
2950
|
-
* @param {!proto.wechaty.puppet.
|
|
3805
|
+
* @param {!proto.wechaty.puppet.TagContactTagListRequest} message
|
|
2951
3806
|
* @param {!jspb.BinaryWriter} writer
|
|
2952
3807
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2953
3808
|
*/
|
|
2954
|
-
proto.wechaty.puppet.
|
|
3809
|
+
proto.wechaty.puppet.TagContactTagListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2955
3810
|
var f = undefined;
|
|
2956
|
-
f = message.
|
|
3811
|
+
f = message.getContactId();
|
|
2957
3812
|
if (f.length > 0) {
|
|
2958
3813
|
writer.writeString(
|
|
2959
3814
|
1,
|
|
@@ -2964,19 +3819,19 @@ proto.wechaty.puppet.TagGroupTagListRequest.serializeBinaryToWriter = function(m
|
|
|
2964
3819
|
|
|
2965
3820
|
|
|
2966
3821
|
/**
|
|
2967
|
-
* optional string
|
|
3822
|
+
* optional string contact_id = 1;
|
|
2968
3823
|
* @return {string}
|
|
2969
3824
|
*/
|
|
2970
|
-
proto.wechaty.puppet.
|
|
3825
|
+
proto.wechaty.puppet.TagContactTagListRequest.prototype.getContactId = function() {
|
|
2971
3826
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2972
3827
|
};
|
|
2973
3828
|
|
|
2974
3829
|
|
|
2975
3830
|
/**
|
|
2976
3831
|
* @param {string} value
|
|
2977
|
-
* @return {!proto.wechaty.puppet.
|
|
3832
|
+
* @return {!proto.wechaty.puppet.TagContactTagListRequest} returns this
|
|
2978
3833
|
*/
|
|
2979
|
-
proto.wechaty.puppet.
|
|
3834
|
+
proto.wechaty.puppet.TagContactTagListRequest.prototype.setContactId = function(value) {
|
|
2980
3835
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2981
3836
|
};
|
|
2982
3837
|
|
|
@@ -2987,7 +3842,7 @@ proto.wechaty.puppet.TagGroupTagListRequest.prototype.setTagGroupId = function(v
|
|
|
2987
3842
|
* @private {!Array<number>}
|
|
2988
3843
|
* @const
|
|
2989
3844
|
*/
|
|
2990
|
-
proto.wechaty.puppet.
|
|
3845
|
+
proto.wechaty.puppet.TagContactTagListResponse.repeatedFields_ = [1];
|
|
2991
3846
|
|
|
2992
3847
|
|
|
2993
3848
|
|
|
@@ -3004,8 +3859,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3004
3859
|
* http://goto/soy-param-migration
|
|
3005
3860
|
* @return {!Object}
|
|
3006
3861
|
*/
|
|
3007
|
-
proto.wechaty.puppet.
|
|
3008
|
-
return proto.wechaty.puppet.
|
|
3862
|
+
proto.wechaty.puppet.TagContactTagListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3863
|
+
return proto.wechaty.puppet.TagContactTagListResponse.toObject(opt_includeInstance, this);
|
|
3009
3864
|
};
|
|
3010
3865
|
|
|
3011
3866
|
|
|
@@ -3014,14 +3869,14 @@ proto.wechaty.puppet.TagGroupTagListResponse.prototype.toObject = function(opt_i
|
|
|
3014
3869
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3015
3870
|
* the JSPB instance for transitional soy proto support:
|
|
3016
3871
|
* http://goto/soy-param-migration
|
|
3017
|
-
* @param {!proto.wechaty.puppet.
|
|
3872
|
+
* @param {!proto.wechaty.puppet.TagContactTagListResponse} msg The msg instance to transform.
|
|
3018
3873
|
* @return {!Object}
|
|
3019
3874
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3020
3875
|
*/
|
|
3021
|
-
proto.wechaty.puppet.
|
|
3876
|
+
proto.wechaty.puppet.TagContactTagListResponse.toObject = function(includeInstance, msg) {
|
|
3022
3877
|
var f, obj = {
|
|
3023
|
-
|
|
3024
|
-
proto.wechaty.puppet.
|
|
3878
|
+
tagsList: jspb.Message.toObjectList(msg.getTagsList(),
|
|
3879
|
+
proto.wechaty.puppet.TagIdentifier.toObject, includeInstance)
|
|
3025
3880
|
};
|
|
3026
3881
|
|
|
3027
3882
|
if (includeInstance) {
|
|
@@ -3035,23 +3890,23 @@ proto.wechaty.puppet.TagGroupTagListResponse.toObject = function(includeInstance
|
|
|
3035
3890
|
/**
|
|
3036
3891
|
* Deserializes binary data (in protobuf wire format).
|
|
3037
3892
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3038
|
-
* @return {!proto.wechaty.puppet.
|
|
3893
|
+
* @return {!proto.wechaty.puppet.TagContactTagListResponse}
|
|
3039
3894
|
*/
|
|
3040
|
-
proto.wechaty.puppet.
|
|
3895
|
+
proto.wechaty.puppet.TagContactTagListResponse.deserializeBinary = function(bytes) {
|
|
3041
3896
|
var reader = new jspb.BinaryReader(bytes);
|
|
3042
|
-
var msg = new proto.wechaty.puppet.
|
|
3043
|
-
return proto.wechaty.puppet.
|
|
3897
|
+
var msg = new proto.wechaty.puppet.TagContactTagListResponse;
|
|
3898
|
+
return proto.wechaty.puppet.TagContactTagListResponse.deserializeBinaryFromReader(msg, reader);
|
|
3044
3899
|
};
|
|
3045
3900
|
|
|
3046
3901
|
|
|
3047
3902
|
/**
|
|
3048
3903
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3049
3904
|
* given reader into the given message object.
|
|
3050
|
-
* @param {!proto.wechaty.puppet.
|
|
3905
|
+
* @param {!proto.wechaty.puppet.TagContactTagListResponse} msg The message object to deserialize into.
|
|
3051
3906
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3052
|
-
* @return {!proto.wechaty.puppet.
|
|
3907
|
+
* @return {!proto.wechaty.puppet.TagContactTagListResponse}
|
|
3053
3908
|
*/
|
|
3054
|
-
proto.wechaty.puppet.
|
|
3909
|
+
proto.wechaty.puppet.TagContactTagListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3055
3910
|
while (reader.nextField()) {
|
|
3056
3911
|
if (reader.isEndGroup()) {
|
|
3057
3912
|
break;
|
|
@@ -3059,9 +3914,9 @@ proto.wechaty.puppet.TagGroupTagListResponse.deserializeBinaryFromReader = funct
|
|
|
3059
3914
|
var field = reader.getFieldNumber();
|
|
3060
3915
|
switch (field) {
|
|
3061
3916
|
case 1:
|
|
3062
|
-
var value = new proto.wechaty.puppet.
|
|
3063
|
-
reader.readMessage(value,proto.wechaty.puppet.
|
|
3064
|
-
msg.
|
|
3917
|
+
var value = new proto.wechaty.puppet.TagIdentifier;
|
|
3918
|
+
reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
|
|
3919
|
+
msg.addTags(value);
|
|
3065
3920
|
break;
|
|
3066
3921
|
default:
|
|
3067
3922
|
reader.skipField();
|
|
@@ -3076,9 +3931,9 @@ proto.wechaty.puppet.TagGroupTagListResponse.deserializeBinaryFromReader = funct
|
|
|
3076
3931
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3077
3932
|
* @return {!Uint8Array}
|
|
3078
3933
|
*/
|
|
3079
|
-
proto.wechaty.puppet.
|
|
3934
|
+
proto.wechaty.puppet.TagContactTagListResponse.prototype.serializeBinary = function() {
|
|
3080
3935
|
var writer = new jspb.BinaryWriter();
|
|
3081
|
-
proto.wechaty.puppet.
|
|
3936
|
+
proto.wechaty.puppet.TagContactTagListResponse.serializeBinaryToWriter(this, writer);
|
|
3082
3937
|
return writer.getResultBuffer();
|
|
3083
3938
|
};
|
|
3084
3939
|
|
|
@@ -3086,58 +3941,58 @@ proto.wechaty.puppet.TagGroupTagListResponse.prototype.serializeBinary = functio
|
|
|
3086
3941
|
/**
|
|
3087
3942
|
* Serializes the given message to binary data (in protobuf wire
|
|
3088
3943
|
* format), writing to the given BinaryWriter.
|
|
3089
|
-
* @param {!proto.wechaty.puppet.
|
|
3944
|
+
* @param {!proto.wechaty.puppet.TagContactTagListResponse} message
|
|
3090
3945
|
* @param {!jspb.BinaryWriter} writer
|
|
3091
3946
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3092
3947
|
*/
|
|
3093
|
-
proto.wechaty.puppet.
|
|
3948
|
+
proto.wechaty.puppet.TagContactTagListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3094
3949
|
var f = undefined;
|
|
3095
|
-
f = message.
|
|
3950
|
+
f = message.getTagsList();
|
|
3096
3951
|
if (f.length > 0) {
|
|
3097
3952
|
writer.writeRepeatedMessage(
|
|
3098
3953
|
1,
|
|
3099
3954
|
f,
|
|
3100
|
-
proto.wechaty.puppet.
|
|
3955
|
+
proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
|
|
3101
3956
|
);
|
|
3102
3957
|
}
|
|
3103
3958
|
};
|
|
3104
3959
|
|
|
3105
3960
|
|
|
3106
3961
|
/**
|
|
3107
|
-
* repeated
|
|
3108
|
-
* @return {!Array<!proto.wechaty.puppet.
|
|
3962
|
+
* repeated TagIdentifier tags = 1;
|
|
3963
|
+
* @return {!Array<!proto.wechaty.puppet.TagIdentifier>}
|
|
3109
3964
|
*/
|
|
3110
|
-
proto.wechaty.puppet.
|
|
3111
|
-
return /** @type{!Array<!proto.wechaty.puppet.
|
|
3112
|
-
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.
|
|
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));
|
|
3113
3968
|
};
|
|
3114
3969
|
|
|
3115
3970
|
|
|
3116
3971
|
/**
|
|
3117
|
-
* @param {!Array<!proto.wechaty.puppet.
|
|
3118
|
-
* @return {!proto.wechaty.puppet.
|
|
3972
|
+
* @param {!Array<!proto.wechaty.puppet.TagIdentifier>} value
|
|
3973
|
+
* @return {!proto.wechaty.puppet.TagContactTagListResponse} returns this
|
|
3119
3974
|
*/
|
|
3120
|
-
proto.wechaty.puppet.
|
|
3975
|
+
proto.wechaty.puppet.TagContactTagListResponse.prototype.setTagsList = function(value) {
|
|
3121
3976
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3122
3977
|
};
|
|
3123
3978
|
|
|
3124
3979
|
|
|
3125
3980
|
/**
|
|
3126
|
-
* @param {!proto.wechaty.puppet.
|
|
3981
|
+
* @param {!proto.wechaty.puppet.TagIdentifier=} opt_value
|
|
3127
3982
|
* @param {number=} opt_index
|
|
3128
|
-
* @return {!proto.wechaty.puppet.
|
|
3983
|
+
* @return {!proto.wechaty.puppet.TagIdentifier}
|
|
3129
3984
|
*/
|
|
3130
|
-
proto.wechaty.puppet.
|
|
3131
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.wechaty.puppet.
|
|
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);
|
|
3132
3987
|
};
|
|
3133
3988
|
|
|
3134
3989
|
|
|
3135
3990
|
/**
|
|
3136
3991
|
* Clears the list making it empty but non-null.
|
|
3137
|
-
* @return {!proto.wechaty.puppet.
|
|
3992
|
+
* @return {!proto.wechaty.puppet.TagContactTagListResponse} returns this
|
|
3138
3993
|
*/
|
|
3139
|
-
proto.wechaty.puppet.
|
|
3140
|
-
return this.
|
|
3994
|
+
proto.wechaty.puppet.TagContactTagListResponse.prototype.clearTagsList = function() {
|
|
3995
|
+
return this.setTagsList([]);
|
|
3141
3996
|
};
|
|
3142
3997
|
|
|
3143
3998
|
|
|
@@ -3157,8 +4012,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3157
4012
|
* http://goto/soy-param-migration
|
|
3158
4013
|
* @return {!Object}
|
|
3159
4014
|
*/
|
|
3160
|
-
proto.wechaty.puppet.
|
|
3161
|
-
return proto.wechaty.puppet.
|
|
4015
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4016
|
+
return proto.wechaty.puppet.TagTagContactListRequest.toObject(opt_includeInstance, this);
|
|
3162
4017
|
};
|
|
3163
4018
|
|
|
3164
4019
|
|
|
@@ -3167,13 +4022,13 @@ proto.wechaty.puppet.TagTagListRequest.prototype.toObject = function(opt_include
|
|
|
3167
4022
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3168
4023
|
* the JSPB instance for transitional soy proto support:
|
|
3169
4024
|
* http://goto/soy-param-migration
|
|
3170
|
-
* @param {!proto.wechaty.puppet.
|
|
4025
|
+
* @param {!proto.wechaty.puppet.TagTagContactListRequest} msg The msg instance to transform.
|
|
3171
4026
|
* @return {!Object}
|
|
3172
4027
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3173
4028
|
*/
|
|
3174
|
-
proto.wechaty.puppet.
|
|
4029
|
+
proto.wechaty.puppet.TagTagContactListRequest.toObject = function(includeInstance, msg) {
|
|
3175
4030
|
var f, obj = {
|
|
3176
|
-
|
|
4031
|
+
tag: (f = msg.getTag()) && proto.wechaty.puppet.TagIdentifier.toObject(includeInstance, f)
|
|
3177
4032
|
};
|
|
3178
4033
|
|
|
3179
4034
|
if (includeInstance) {
|
|
@@ -3187,29 +4042,34 @@ proto.wechaty.puppet.TagTagListRequest.toObject = function(includeInstance, msg)
|
|
|
3187
4042
|
/**
|
|
3188
4043
|
* Deserializes binary data (in protobuf wire format).
|
|
3189
4044
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3190
|
-
* @return {!proto.wechaty.puppet.
|
|
4045
|
+
* @return {!proto.wechaty.puppet.TagTagContactListRequest}
|
|
3191
4046
|
*/
|
|
3192
|
-
proto.wechaty.puppet.
|
|
4047
|
+
proto.wechaty.puppet.TagTagContactListRequest.deserializeBinary = function(bytes) {
|
|
3193
4048
|
var reader = new jspb.BinaryReader(bytes);
|
|
3194
|
-
var msg = new proto.wechaty.puppet.
|
|
3195
|
-
return proto.wechaty.puppet.
|
|
4049
|
+
var msg = new proto.wechaty.puppet.TagTagContactListRequest;
|
|
4050
|
+
return proto.wechaty.puppet.TagTagContactListRequest.deserializeBinaryFromReader(msg, reader);
|
|
3196
4051
|
};
|
|
3197
4052
|
|
|
3198
4053
|
|
|
3199
4054
|
/**
|
|
3200
4055
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3201
4056
|
* given reader into the given message object.
|
|
3202
|
-
* @param {!proto.wechaty.puppet.
|
|
4057
|
+
* @param {!proto.wechaty.puppet.TagTagContactListRequest} msg The message object to deserialize into.
|
|
3203
4058
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3204
|
-
* @return {!proto.wechaty.puppet.
|
|
4059
|
+
* @return {!proto.wechaty.puppet.TagTagContactListRequest}
|
|
3205
4060
|
*/
|
|
3206
|
-
proto.wechaty.puppet.
|
|
4061
|
+
proto.wechaty.puppet.TagTagContactListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3207
4062
|
while (reader.nextField()) {
|
|
3208
4063
|
if (reader.isEndGroup()) {
|
|
3209
4064
|
break;
|
|
3210
4065
|
}
|
|
3211
4066
|
var field = reader.getFieldNumber();
|
|
3212
4067
|
switch (field) {
|
|
4068
|
+
case 1:
|
|
4069
|
+
var value = new proto.wechaty.puppet.TagIdentifier;
|
|
4070
|
+
reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
|
|
4071
|
+
msg.setTag(value);
|
|
4072
|
+
break;
|
|
3213
4073
|
default:
|
|
3214
4074
|
reader.skipField();
|
|
3215
4075
|
break;
|
|
@@ -3223,22 +4083,67 @@ proto.wechaty.puppet.TagTagListRequest.deserializeBinaryFromReader = function(ms
|
|
|
3223
4083
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3224
4084
|
* @return {!Uint8Array}
|
|
3225
4085
|
*/
|
|
3226
|
-
proto.wechaty.puppet.
|
|
3227
|
-
var writer = new jspb.BinaryWriter();
|
|
3228
|
-
proto.wechaty.puppet.
|
|
3229
|
-
return writer.getResultBuffer();
|
|
4086
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.serializeBinary = function() {
|
|
4087
|
+
var writer = new jspb.BinaryWriter();
|
|
4088
|
+
proto.wechaty.puppet.TagTagContactListRequest.serializeBinaryToWriter(this, writer);
|
|
4089
|
+
return writer.getResultBuffer();
|
|
4090
|
+
};
|
|
4091
|
+
|
|
4092
|
+
|
|
4093
|
+
/**
|
|
4094
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4095
|
+
* format), writing to the given BinaryWriter.
|
|
4096
|
+
* @param {!proto.wechaty.puppet.TagTagContactListRequest} message
|
|
4097
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4098
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4099
|
+
*/
|
|
4100
|
+
proto.wechaty.puppet.TagTagContactListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4101
|
+
var f = undefined;
|
|
4102
|
+
f = message.getTag();
|
|
4103
|
+
if (f != null) {
|
|
4104
|
+
writer.writeMessage(
|
|
4105
|
+
1,
|
|
4106
|
+
f,
|
|
4107
|
+
proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
|
|
4108
|
+
);
|
|
4109
|
+
}
|
|
4110
|
+
};
|
|
4111
|
+
|
|
4112
|
+
|
|
4113
|
+
/**
|
|
4114
|
+
* optional TagIdentifier tag = 1;
|
|
4115
|
+
* @return {?proto.wechaty.puppet.TagIdentifier}
|
|
4116
|
+
*/
|
|
4117
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.getTag = function() {
|
|
4118
|
+
return /** @type{?proto.wechaty.puppet.TagIdentifier} */ (
|
|
4119
|
+
jspb.Message.getWrapperField(this, proto.wechaty.puppet.TagIdentifier, 1));
|
|
4120
|
+
};
|
|
4121
|
+
|
|
4122
|
+
|
|
4123
|
+
/**
|
|
4124
|
+
* @param {?proto.wechaty.puppet.TagIdentifier|undefined} value
|
|
4125
|
+
* @return {!proto.wechaty.puppet.TagTagContactListRequest} returns this
|
|
4126
|
+
*/
|
|
4127
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.setTag = function(value) {
|
|
4128
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
4129
|
+
};
|
|
4130
|
+
|
|
4131
|
+
|
|
4132
|
+
/**
|
|
4133
|
+
* Clears the message field making it undefined.
|
|
4134
|
+
* @return {!proto.wechaty.puppet.TagTagContactListRequest} returns this
|
|
4135
|
+
*/
|
|
4136
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.clearTag = function() {
|
|
4137
|
+
return this.setTag(undefined);
|
|
3230
4138
|
};
|
|
3231
4139
|
|
|
3232
4140
|
|
|
3233
4141
|
/**
|
|
3234
|
-
*
|
|
3235
|
-
*
|
|
3236
|
-
* @param {!proto.wechaty.puppet.TagTagListRequest} message
|
|
3237
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3238
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4142
|
+
* Returns whether this field is set.
|
|
4143
|
+
* @return {boolean}
|
|
3239
4144
|
*/
|
|
3240
|
-
proto.wechaty.puppet.
|
|
3241
|
-
|
|
4145
|
+
proto.wechaty.puppet.TagTagContactListRequest.prototype.hasTag = function() {
|
|
4146
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3242
4147
|
};
|
|
3243
4148
|
|
|
3244
4149
|
|
|
@@ -3248,7 +4153,7 @@ proto.wechaty.puppet.TagTagListRequest.serializeBinaryToWriter = function(messag
|
|
|
3248
4153
|
* @private {!Array<number>}
|
|
3249
4154
|
* @const
|
|
3250
4155
|
*/
|
|
3251
|
-
proto.wechaty.puppet.
|
|
4156
|
+
proto.wechaty.puppet.TagTagContactListResponse.repeatedFields_ = [1];
|
|
3252
4157
|
|
|
3253
4158
|
|
|
3254
4159
|
|
|
@@ -3265,8 +4170,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3265
4170
|
* http://goto/soy-param-migration
|
|
3266
4171
|
* @return {!Object}
|
|
3267
4172
|
*/
|
|
3268
|
-
proto.wechaty.puppet.
|
|
3269
|
-
return proto.wechaty.puppet.
|
|
4173
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4174
|
+
return proto.wechaty.puppet.TagTagContactListResponse.toObject(opt_includeInstance, this);
|
|
3270
4175
|
};
|
|
3271
4176
|
|
|
3272
4177
|
|
|
@@ -3275,14 +4180,13 @@ proto.wechaty.puppet.TagTagListResponse.prototype.toObject = function(opt_includ
|
|
|
3275
4180
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3276
4181
|
* the JSPB instance for transitional soy proto support:
|
|
3277
4182
|
* http://goto/soy-param-migration
|
|
3278
|
-
* @param {!proto.wechaty.puppet.
|
|
4183
|
+
* @param {!proto.wechaty.puppet.TagTagContactListResponse} msg The msg instance to transform.
|
|
3279
4184
|
* @return {!Object}
|
|
3280
4185
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3281
4186
|
*/
|
|
3282
|
-
proto.wechaty.puppet.
|
|
4187
|
+
proto.wechaty.puppet.TagTagContactListResponse.toObject = function(includeInstance, msg) {
|
|
3283
4188
|
var f, obj = {
|
|
3284
|
-
|
|
3285
|
-
proto.wechaty.puppet.TagPayload.toObject, includeInstance)
|
|
4189
|
+
contactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
3286
4190
|
};
|
|
3287
4191
|
|
|
3288
4192
|
if (includeInstance) {
|
|
@@ -3296,23 +4200,23 @@ proto.wechaty.puppet.TagTagListResponse.toObject = function(includeInstance, msg
|
|
|
3296
4200
|
/**
|
|
3297
4201
|
* Deserializes binary data (in protobuf wire format).
|
|
3298
4202
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3299
|
-
* @return {!proto.wechaty.puppet.
|
|
4203
|
+
* @return {!proto.wechaty.puppet.TagTagContactListResponse}
|
|
3300
4204
|
*/
|
|
3301
|
-
proto.wechaty.puppet.
|
|
4205
|
+
proto.wechaty.puppet.TagTagContactListResponse.deserializeBinary = function(bytes) {
|
|
3302
4206
|
var reader = new jspb.BinaryReader(bytes);
|
|
3303
|
-
var msg = new proto.wechaty.puppet.
|
|
3304
|
-
return proto.wechaty.puppet.
|
|
4207
|
+
var msg = new proto.wechaty.puppet.TagTagContactListResponse;
|
|
4208
|
+
return proto.wechaty.puppet.TagTagContactListResponse.deserializeBinaryFromReader(msg, reader);
|
|
3305
4209
|
};
|
|
3306
4210
|
|
|
3307
4211
|
|
|
3308
4212
|
/**
|
|
3309
4213
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3310
4214
|
* given reader into the given message object.
|
|
3311
|
-
* @param {!proto.wechaty.puppet.
|
|
4215
|
+
* @param {!proto.wechaty.puppet.TagTagContactListResponse} msg The message object to deserialize into.
|
|
3312
4216
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3313
|
-
* @return {!proto.wechaty.puppet.
|
|
4217
|
+
* @return {!proto.wechaty.puppet.TagTagContactListResponse}
|
|
3314
4218
|
*/
|
|
3315
|
-
proto.wechaty.puppet.
|
|
4219
|
+
proto.wechaty.puppet.TagTagContactListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3316
4220
|
while (reader.nextField()) {
|
|
3317
4221
|
if (reader.isEndGroup()) {
|
|
3318
4222
|
break;
|
|
@@ -3320,9 +4224,8 @@ proto.wechaty.puppet.TagTagListResponse.deserializeBinaryFromReader = function(m
|
|
|
3320
4224
|
var field = reader.getFieldNumber();
|
|
3321
4225
|
switch (field) {
|
|
3322
4226
|
case 1:
|
|
3323
|
-
var value =
|
|
3324
|
-
|
|
3325
|
-
msg.addPayloads(value);
|
|
4227
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4228
|
+
msg.addContactIds(value);
|
|
3326
4229
|
break;
|
|
3327
4230
|
default:
|
|
3328
4231
|
reader.skipField();
|
|
@@ -3337,9 +4240,9 @@ proto.wechaty.puppet.TagTagListResponse.deserializeBinaryFromReader = function(m
|
|
|
3337
4240
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3338
4241
|
* @return {!Uint8Array}
|
|
3339
4242
|
*/
|
|
3340
|
-
proto.wechaty.puppet.
|
|
4243
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.serializeBinary = function() {
|
|
3341
4244
|
var writer = new jspb.BinaryWriter();
|
|
3342
|
-
proto.wechaty.puppet.
|
|
4245
|
+
proto.wechaty.puppet.TagTagContactListResponse.serializeBinaryToWriter(this, writer);
|
|
3343
4246
|
return writer.getResultBuffer();
|
|
3344
4247
|
};
|
|
3345
4248
|
|
|
@@ -3347,58 +4250,56 @@ proto.wechaty.puppet.TagTagListResponse.prototype.serializeBinary = function() {
|
|
|
3347
4250
|
/**
|
|
3348
4251
|
* Serializes the given message to binary data (in protobuf wire
|
|
3349
4252
|
* format), writing to the given BinaryWriter.
|
|
3350
|
-
* @param {!proto.wechaty.puppet.
|
|
4253
|
+
* @param {!proto.wechaty.puppet.TagTagContactListResponse} message
|
|
3351
4254
|
* @param {!jspb.BinaryWriter} writer
|
|
3352
4255
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3353
4256
|
*/
|
|
3354
|
-
proto.wechaty.puppet.
|
|
4257
|
+
proto.wechaty.puppet.TagTagContactListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3355
4258
|
var f = undefined;
|
|
3356
|
-
f = message.
|
|
4259
|
+
f = message.getContactIdsList();
|
|
3357
4260
|
if (f.length > 0) {
|
|
3358
|
-
writer.
|
|
4261
|
+
writer.writeRepeatedString(
|
|
3359
4262
|
1,
|
|
3360
|
-
f
|
|
3361
|
-
proto.wechaty.puppet.TagPayload.serializeBinaryToWriter
|
|
4263
|
+
f
|
|
3362
4264
|
);
|
|
3363
4265
|
}
|
|
3364
4266
|
};
|
|
3365
4267
|
|
|
3366
4268
|
|
|
3367
4269
|
/**
|
|
3368
|
-
* repeated
|
|
3369
|
-
* @return {!Array
|
|
4270
|
+
* repeated string contact_ids = 1;
|
|
4271
|
+
* @return {!Array<string>}
|
|
3370
4272
|
*/
|
|
3371
|
-
proto.wechaty.puppet.
|
|
3372
|
-
return /** @type{!Array
|
|
3373
|
-
jspb.Message.getRepeatedWrapperField(this, proto.wechaty.puppet.TagPayload, 1));
|
|
4273
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.getContactIdsList = function() {
|
|
4274
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
3374
4275
|
};
|
|
3375
4276
|
|
|
3376
4277
|
|
|
3377
4278
|
/**
|
|
3378
|
-
* @param {!Array
|
|
3379
|
-
* @return {!proto.wechaty.puppet.
|
|
3380
|
-
*/
|
|
3381
|
-
proto.wechaty.puppet.
|
|
3382
|
-
return jspb.Message.
|
|
4279
|
+
* @param {!Array<string>} value
|
|
4280
|
+
* @return {!proto.wechaty.puppet.TagTagContactListResponse} returns this
|
|
4281
|
+
*/
|
|
4282
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.setContactIdsList = function(value) {
|
|
4283
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
3383
4284
|
};
|
|
3384
4285
|
|
|
3385
4286
|
|
|
3386
4287
|
/**
|
|
3387
|
-
* @param {
|
|
4288
|
+
* @param {string} value
|
|
3388
4289
|
* @param {number=} opt_index
|
|
3389
|
-
* @return {!proto.wechaty.puppet.
|
|
4290
|
+
* @return {!proto.wechaty.puppet.TagTagContactListResponse} returns this
|
|
3390
4291
|
*/
|
|
3391
|
-
proto.wechaty.puppet.
|
|
3392
|
-
return jspb.Message.
|
|
4292
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.addContactIds = function(value, opt_index) {
|
|
4293
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
3393
4294
|
};
|
|
3394
4295
|
|
|
3395
4296
|
|
|
3396
4297
|
/**
|
|
3397
4298
|
* Clears the list making it empty but non-null.
|
|
3398
|
-
* @return {!proto.wechaty.puppet.
|
|
4299
|
+
* @return {!proto.wechaty.puppet.TagTagContactListResponse} returns this
|
|
3399
4300
|
*/
|
|
3400
|
-
proto.wechaty.puppet.
|
|
3401
|
-
return this.
|
|
4301
|
+
proto.wechaty.puppet.TagTagContactListResponse.prototype.clearContactIdsList = function() {
|
|
4302
|
+
return this.setContactIdsList([]);
|
|
3402
4303
|
};
|
|
3403
4304
|
|
|
3404
4305
|
|
|
@@ -3418,8 +4319,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3418
4319
|
* http://goto/soy-param-migration
|
|
3419
4320
|
* @return {!Object}
|
|
3420
4321
|
*/
|
|
3421
|
-
proto.wechaty.puppet.
|
|
3422
|
-
return proto.wechaty.puppet.
|
|
4322
|
+
proto.wechaty.puppet.TagGroupPayloadRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4323
|
+
return proto.wechaty.puppet.TagGroupPayloadRequest.toObject(opt_includeInstance, this);
|
|
3423
4324
|
};
|
|
3424
4325
|
|
|
3425
4326
|
|
|
@@ -3428,13 +4329,13 @@ proto.wechaty.puppet.TagContactTagListRequest.prototype.toObject = function(opt_
|
|
|
3428
4329
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3429
4330
|
* the JSPB instance for transitional soy proto support:
|
|
3430
4331
|
* http://goto/soy-param-migration
|
|
3431
|
-
* @param {!proto.wechaty.puppet.
|
|
4332
|
+
* @param {!proto.wechaty.puppet.TagGroupPayloadRequest} msg The msg instance to transform.
|
|
3432
4333
|
* @return {!Object}
|
|
3433
4334
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3434
4335
|
*/
|
|
3435
|
-
proto.wechaty.puppet.
|
|
4336
|
+
proto.wechaty.puppet.TagGroupPayloadRequest.toObject = function(includeInstance, msg) {
|
|
3436
4337
|
var f, obj = {
|
|
3437
|
-
|
|
4338
|
+
groupId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3438
4339
|
};
|
|
3439
4340
|
|
|
3440
4341
|
if (includeInstance) {
|
|
@@ -3448,23 +4349,23 @@ proto.wechaty.puppet.TagContactTagListRequest.toObject = function(includeInstanc
|
|
|
3448
4349
|
/**
|
|
3449
4350
|
* Deserializes binary data (in protobuf wire format).
|
|
3450
4351
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3451
|
-
* @return {!proto.wechaty.puppet.
|
|
4352
|
+
* @return {!proto.wechaty.puppet.TagGroupPayloadRequest}
|
|
3452
4353
|
*/
|
|
3453
|
-
proto.wechaty.puppet.
|
|
4354
|
+
proto.wechaty.puppet.TagGroupPayloadRequest.deserializeBinary = function(bytes) {
|
|
3454
4355
|
var reader = new jspb.BinaryReader(bytes);
|
|
3455
|
-
var msg = new proto.wechaty.puppet.
|
|
3456
|
-
return proto.wechaty.puppet.
|
|
4356
|
+
var msg = new proto.wechaty.puppet.TagGroupPayloadRequest;
|
|
4357
|
+
return proto.wechaty.puppet.TagGroupPayloadRequest.deserializeBinaryFromReader(msg, reader);
|
|
3457
4358
|
};
|
|
3458
4359
|
|
|
3459
4360
|
|
|
3460
4361
|
/**
|
|
3461
4362
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3462
4363
|
* given reader into the given message object.
|
|
3463
|
-
* @param {!proto.wechaty.puppet.
|
|
4364
|
+
* @param {!proto.wechaty.puppet.TagGroupPayloadRequest} msg The message object to deserialize into.
|
|
3464
4365
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3465
|
-
* @return {!proto.wechaty.puppet.
|
|
4366
|
+
* @return {!proto.wechaty.puppet.TagGroupPayloadRequest}
|
|
3466
4367
|
*/
|
|
3467
|
-
proto.wechaty.puppet.
|
|
4368
|
+
proto.wechaty.puppet.TagGroupPayloadRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3468
4369
|
while (reader.nextField()) {
|
|
3469
4370
|
if (reader.isEndGroup()) {
|
|
3470
4371
|
break;
|
|
@@ -3473,7 +4374,7 @@ proto.wechaty.puppet.TagContactTagListRequest.deserializeBinaryFromReader = func
|
|
|
3473
4374
|
switch (field) {
|
|
3474
4375
|
case 1:
|
|
3475
4376
|
var value = /** @type {string} */ (reader.readString());
|
|
3476
|
-
msg.
|
|
4377
|
+
msg.setGroupId(value);
|
|
3477
4378
|
break;
|
|
3478
4379
|
default:
|
|
3479
4380
|
reader.skipField();
|
|
@@ -3488,9 +4389,9 @@ proto.wechaty.puppet.TagContactTagListRequest.deserializeBinaryFromReader = func
|
|
|
3488
4389
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3489
4390
|
* @return {!Uint8Array}
|
|
3490
4391
|
*/
|
|
3491
|
-
proto.wechaty.puppet.
|
|
4392
|
+
proto.wechaty.puppet.TagGroupPayloadRequest.prototype.serializeBinary = function() {
|
|
3492
4393
|
var writer = new jspb.BinaryWriter();
|
|
3493
|
-
proto.wechaty.puppet.
|
|
4394
|
+
proto.wechaty.puppet.TagGroupPayloadRequest.serializeBinaryToWriter(this, writer);
|
|
3494
4395
|
return writer.getResultBuffer();
|
|
3495
4396
|
};
|
|
3496
4397
|
|
|
@@ -3498,13 +4399,13 @@ proto.wechaty.puppet.TagContactTagListRequest.prototype.serializeBinary = functi
|
|
|
3498
4399
|
/**
|
|
3499
4400
|
* Serializes the given message to binary data (in protobuf wire
|
|
3500
4401
|
* format), writing to the given BinaryWriter.
|
|
3501
|
-
* @param {!proto.wechaty.puppet.
|
|
4402
|
+
* @param {!proto.wechaty.puppet.TagGroupPayloadRequest} message
|
|
3502
4403
|
* @param {!jspb.BinaryWriter} writer
|
|
3503
4404
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3504
4405
|
*/
|
|
3505
|
-
proto.wechaty.puppet.
|
|
4406
|
+
proto.wechaty.puppet.TagGroupPayloadRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3506
4407
|
var f = undefined;
|
|
3507
|
-
f = message.
|
|
4408
|
+
f = message.getGroupId();
|
|
3508
4409
|
if (f.length > 0) {
|
|
3509
4410
|
writer.writeString(
|
|
3510
4411
|
1,
|
|
@@ -3515,31 +4416,24 @@ proto.wechaty.puppet.TagContactTagListRequest.serializeBinaryToWriter = function
|
|
|
3515
4416
|
|
|
3516
4417
|
|
|
3517
4418
|
/**
|
|
3518
|
-
* optional string
|
|
4419
|
+
* optional string group_id = 1;
|
|
3519
4420
|
* @return {string}
|
|
3520
4421
|
*/
|
|
3521
|
-
proto.wechaty.puppet.
|
|
4422
|
+
proto.wechaty.puppet.TagGroupPayloadRequest.prototype.getGroupId = function() {
|
|
3522
4423
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3523
4424
|
};
|
|
3524
4425
|
|
|
3525
4426
|
|
|
3526
4427
|
/**
|
|
3527
4428
|
* @param {string} value
|
|
3528
|
-
* @return {!proto.wechaty.puppet.
|
|
4429
|
+
* @return {!proto.wechaty.puppet.TagGroupPayloadRequest} returns this
|
|
3529
4430
|
*/
|
|
3530
|
-
proto.wechaty.puppet.
|
|
4431
|
+
proto.wechaty.puppet.TagGroupPayloadRequest.prototype.setGroupId = function(value) {
|
|
3531
4432
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3532
4433
|
};
|
|
3533
4434
|
|
|
3534
4435
|
|
|
3535
4436
|
|
|
3536
|
-
/**
|
|
3537
|
-
* List of repeated fields within this message type.
|
|
3538
|
-
* @private {!Array<number>}
|
|
3539
|
-
* @const
|
|
3540
|
-
*/
|
|
3541
|
-
proto.wechaty.puppet.TagContactTagListResponse.repeatedFields_ = [1];
|
|
3542
|
-
|
|
3543
4437
|
|
|
3544
4438
|
|
|
3545
4439
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3555,8 +4449,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3555
4449
|
* http://goto/soy-param-migration
|
|
3556
4450
|
* @return {!Object}
|
|
3557
4451
|
*/
|
|
3558
|
-
proto.wechaty.puppet.
|
|
3559
|
-
return proto.wechaty.puppet.
|
|
4452
|
+
proto.wechaty.puppet.TagGroupPayloadResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4453
|
+
return proto.wechaty.puppet.TagGroupPayloadResponse.toObject(opt_includeInstance, this);
|
|
3560
4454
|
};
|
|
3561
4455
|
|
|
3562
4456
|
|
|
@@ -3565,14 +4459,13 @@ proto.wechaty.puppet.TagContactTagListResponse.prototype.toObject = function(opt
|
|
|
3565
4459
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3566
4460
|
* the JSPB instance for transitional soy proto support:
|
|
3567
4461
|
* http://goto/soy-param-migration
|
|
3568
|
-
* @param {!proto.wechaty.puppet.
|
|
4462
|
+
* @param {!proto.wechaty.puppet.TagGroupPayloadResponse} msg The msg instance to transform.
|
|
3569
4463
|
* @return {!Object}
|
|
3570
4464
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3571
4465
|
*/
|
|
3572
|
-
proto.wechaty.puppet.
|
|
4466
|
+
proto.wechaty.puppet.TagGroupPayloadResponse.toObject = function(includeInstance, msg) {
|
|
3573
4467
|
var f, obj = {
|
|
3574
|
-
|
|
3575
|
-
proto.wechaty.puppet.TagPayload.toObject, includeInstance)
|
|
4468
|
+
payload: (f = msg.getPayload()) && proto.wechaty.puppet.TagGroupPayload.toObject(includeInstance, f)
|
|
3576
4469
|
};
|
|
3577
4470
|
|
|
3578
4471
|
if (includeInstance) {
|
|
@@ -3586,23 +4479,23 @@ proto.wechaty.puppet.TagContactTagListResponse.toObject = function(includeInstan
|
|
|
3586
4479
|
/**
|
|
3587
4480
|
* Deserializes binary data (in protobuf wire format).
|
|
3588
4481
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3589
|
-
* @return {!proto.wechaty.puppet.
|
|
4482
|
+
* @return {!proto.wechaty.puppet.TagGroupPayloadResponse}
|
|
3590
4483
|
*/
|
|
3591
|
-
proto.wechaty.puppet.
|
|
4484
|
+
proto.wechaty.puppet.TagGroupPayloadResponse.deserializeBinary = function(bytes) {
|
|
3592
4485
|
var reader = new jspb.BinaryReader(bytes);
|
|
3593
|
-
var msg = new proto.wechaty.puppet.
|
|
3594
|
-
return proto.wechaty.puppet.
|
|
4486
|
+
var msg = new proto.wechaty.puppet.TagGroupPayloadResponse;
|
|
4487
|
+
return proto.wechaty.puppet.TagGroupPayloadResponse.deserializeBinaryFromReader(msg, reader);
|
|
3595
4488
|
};
|
|
3596
4489
|
|
|
3597
4490
|
|
|
3598
4491
|
/**
|
|
3599
4492
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3600
4493
|
* given reader into the given message object.
|
|
3601
|
-
* @param {!proto.wechaty.puppet.
|
|
4494
|
+
* @param {!proto.wechaty.puppet.TagGroupPayloadResponse} msg The message object to deserialize into.
|
|
3602
4495
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3603
|
-
* @return {!proto.wechaty.puppet.
|
|
4496
|
+
* @return {!proto.wechaty.puppet.TagGroupPayloadResponse}
|
|
3604
4497
|
*/
|
|
3605
|
-
proto.wechaty.puppet.
|
|
4498
|
+
proto.wechaty.puppet.TagGroupPayloadResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3606
4499
|
while (reader.nextField()) {
|
|
3607
4500
|
if (reader.isEndGroup()) {
|
|
3608
4501
|
break;
|
|
@@ -3610,9 +4503,9 @@ proto.wechaty.puppet.TagContactTagListResponse.deserializeBinaryFromReader = fun
|
|
|
3610
4503
|
var field = reader.getFieldNumber();
|
|
3611
4504
|
switch (field) {
|
|
3612
4505
|
case 1:
|
|
3613
|
-
var value = new proto.wechaty.puppet.
|
|
3614
|
-
reader.readMessage(value,proto.wechaty.puppet.
|
|
3615
|
-
msg.
|
|
4506
|
+
var value = new proto.wechaty.puppet.TagGroupPayload;
|
|
4507
|
+
reader.readMessage(value,proto.wechaty.puppet.TagGroupPayload.deserializeBinaryFromReader);
|
|
4508
|
+
msg.setPayload(value);
|
|
3616
4509
|
break;
|
|
3617
4510
|
default:
|
|
3618
4511
|
reader.skipField();
|
|
@@ -3627,9 +4520,9 @@ proto.wechaty.puppet.TagContactTagListResponse.deserializeBinaryFromReader = fun
|
|
|
3627
4520
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3628
4521
|
* @return {!Uint8Array}
|
|
3629
4522
|
*/
|
|
3630
|
-
proto.wechaty.puppet.
|
|
4523
|
+
proto.wechaty.puppet.TagGroupPayloadResponse.prototype.serializeBinary = function() {
|
|
3631
4524
|
var writer = new jspb.BinaryWriter();
|
|
3632
|
-
proto.wechaty.puppet.
|
|
4525
|
+
proto.wechaty.puppet.TagGroupPayloadResponse.serializeBinaryToWriter(this, writer);
|
|
3633
4526
|
return writer.getResultBuffer();
|
|
3634
4527
|
};
|
|
3635
4528
|
|
|
@@ -3637,58 +4530,57 @@ proto.wechaty.puppet.TagContactTagListResponse.prototype.serializeBinary = funct
|
|
|
3637
4530
|
/**
|
|
3638
4531
|
* Serializes the given message to binary data (in protobuf wire
|
|
3639
4532
|
* format), writing to the given BinaryWriter.
|
|
3640
|
-
* @param {!proto.wechaty.puppet.
|
|
4533
|
+
* @param {!proto.wechaty.puppet.TagGroupPayloadResponse} message
|
|
3641
4534
|
* @param {!jspb.BinaryWriter} writer
|
|
3642
4535
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3643
4536
|
*/
|
|
3644
|
-
proto.wechaty.puppet.
|
|
4537
|
+
proto.wechaty.puppet.TagGroupPayloadResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3645
4538
|
var f = undefined;
|
|
3646
|
-
f = message.
|
|
3647
|
-
if (f
|
|
3648
|
-
writer.
|
|
4539
|
+
f = message.getPayload();
|
|
4540
|
+
if (f != null) {
|
|
4541
|
+
writer.writeMessage(
|
|
3649
4542
|
1,
|
|
3650
4543
|
f,
|
|
3651
|
-
proto.wechaty.puppet.
|
|
4544
|
+
proto.wechaty.puppet.TagGroupPayload.serializeBinaryToWriter
|
|
3652
4545
|
);
|
|
3653
4546
|
}
|
|
3654
4547
|
};
|
|
3655
4548
|
|
|
3656
4549
|
|
|
3657
4550
|
/**
|
|
3658
|
-
*
|
|
3659
|
-
* @return {
|
|
4551
|
+
* optional TagGroupPayload payload = 1;
|
|
4552
|
+
* @return {?proto.wechaty.puppet.TagGroupPayload}
|
|
3660
4553
|
*/
|
|
3661
|
-
proto.wechaty.puppet.
|
|
3662
|
-
return /** @type{
|
|
3663
|
-
jspb.Message.
|
|
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));
|
|
3664
4557
|
};
|
|
3665
4558
|
|
|
3666
4559
|
|
|
3667
4560
|
/**
|
|
3668
|
-
* @param {
|
|
3669
|
-
* @return {!proto.wechaty.puppet.
|
|
4561
|
+
* @param {?proto.wechaty.puppet.TagGroupPayload|undefined} value
|
|
4562
|
+
* @return {!proto.wechaty.puppet.TagGroupPayloadResponse} returns this
|
|
3670
4563
|
*/
|
|
3671
|
-
proto.wechaty.puppet.
|
|
3672
|
-
return jspb.Message.
|
|
4564
|
+
proto.wechaty.puppet.TagGroupPayloadResponse.prototype.setPayload = function(value) {
|
|
4565
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3673
4566
|
};
|
|
3674
4567
|
|
|
3675
4568
|
|
|
3676
4569
|
/**
|
|
3677
|
-
*
|
|
3678
|
-
* @
|
|
3679
|
-
* @return {!proto.wechaty.puppet.TagPayload}
|
|
4570
|
+
* Clears the message field making it undefined.
|
|
4571
|
+
* @return {!proto.wechaty.puppet.TagGroupPayloadResponse} returns this
|
|
3680
4572
|
*/
|
|
3681
|
-
proto.wechaty.puppet.
|
|
3682
|
-
return
|
|
4573
|
+
proto.wechaty.puppet.TagGroupPayloadResponse.prototype.clearPayload = function() {
|
|
4574
|
+
return this.setPayload(undefined);
|
|
3683
4575
|
};
|
|
3684
4576
|
|
|
3685
4577
|
|
|
3686
4578
|
/**
|
|
3687
|
-
*
|
|
3688
|
-
* @return {
|
|
4579
|
+
* Returns whether this field is set.
|
|
4580
|
+
* @return {boolean}
|
|
3689
4581
|
*/
|
|
3690
|
-
proto.wechaty.puppet.
|
|
3691
|
-
return
|
|
4582
|
+
proto.wechaty.puppet.TagGroupPayloadResponse.prototype.hasPayload = function() {
|
|
4583
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3692
4584
|
};
|
|
3693
4585
|
|
|
3694
4586
|
|
|
@@ -3708,8 +4600,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3708
4600
|
* http://goto/soy-param-migration
|
|
3709
4601
|
* @return {!Object}
|
|
3710
4602
|
*/
|
|
3711
|
-
proto.wechaty.puppet.
|
|
3712
|
-
return proto.wechaty.puppet.
|
|
4603
|
+
proto.wechaty.puppet.TagPayloadRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4604
|
+
return proto.wechaty.puppet.TagPayloadRequest.toObject(opt_includeInstance, this);
|
|
3713
4605
|
};
|
|
3714
4606
|
|
|
3715
4607
|
|
|
@@ -3718,14 +4610,13 @@ proto.wechaty.puppet.TagTagContactListRequest.prototype.toObject = function(opt_
|
|
|
3718
4610
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3719
4611
|
* the JSPB instance for transitional soy proto support:
|
|
3720
4612
|
* http://goto/soy-param-migration
|
|
3721
|
-
* @param {!proto.wechaty.puppet.
|
|
4613
|
+
* @param {!proto.wechaty.puppet.TagPayloadRequest} msg The msg instance to transform.
|
|
3722
4614
|
* @return {!Object}
|
|
3723
4615
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3724
4616
|
*/
|
|
3725
|
-
proto.wechaty.puppet.
|
|
4617
|
+
proto.wechaty.puppet.TagPayloadRequest.toObject = function(includeInstance, msg) {
|
|
3726
4618
|
var f, obj = {
|
|
3727
|
-
|
|
3728
|
-
tagId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4619
|
+
tag: (f = msg.getTag()) && proto.wechaty.puppet.TagIdentifier.toObject(includeInstance, f)
|
|
3729
4620
|
};
|
|
3730
4621
|
|
|
3731
4622
|
if (includeInstance) {
|
|
@@ -3739,23 +4630,23 @@ proto.wechaty.puppet.TagTagContactListRequest.toObject = function(includeInstanc
|
|
|
3739
4630
|
/**
|
|
3740
4631
|
* Deserializes binary data (in protobuf wire format).
|
|
3741
4632
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3742
|
-
* @return {!proto.wechaty.puppet.
|
|
4633
|
+
* @return {!proto.wechaty.puppet.TagPayloadRequest}
|
|
3743
4634
|
*/
|
|
3744
|
-
proto.wechaty.puppet.
|
|
4635
|
+
proto.wechaty.puppet.TagPayloadRequest.deserializeBinary = function(bytes) {
|
|
3745
4636
|
var reader = new jspb.BinaryReader(bytes);
|
|
3746
|
-
var msg = new proto.wechaty.puppet.
|
|
3747
|
-
return proto.wechaty.puppet.
|
|
4637
|
+
var msg = new proto.wechaty.puppet.TagPayloadRequest;
|
|
4638
|
+
return proto.wechaty.puppet.TagPayloadRequest.deserializeBinaryFromReader(msg, reader);
|
|
3748
4639
|
};
|
|
3749
4640
|
|
|
3750
4641
|
|
|
3751
4642
|
/**
|
|
3752
4643
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3753
4644
|
* given reader into the given message object.
|
|
3754
|
-
* @param {!proto.wechaty.puppet.
|
|
4645
|
+
* @param {!proto.wechaty.puppet.TagPayloadRequest} msg The message object to deserialize into.
|
|
3755
4646
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3756
|
-
* @return {!proto.wechaty.puppet.
|
|
4647
|
+
* @return {!proto.wechaty.puppet.TagPayloadRequest}
|
|
3757
4648
|
*/
|
|
3758
|
-
proto.wechaty.puppet.
|
|
4649
|
+
proto.wechaty.puppet.TagPayloadRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3759
4650
|
while (reader.nextField()) {
|
|
3760
4651
|
if (reader.isEndGroup()) {
|
|
3761
4652
|
break;
|
|
@@ -3763,12 +4654,9 @@ proto.wechaty.puppet.TagTagContactListRequest.deserializeBinaryFromReader = func
|
|
|
3763
4654
|
var field = reader.getFieldNumber();
|
|
3764
4655
|
switch (field) {
|
|
3765
4656
|
case 1:
|
|
3766
|
-
var value =
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
case 2:
|
|
3770
|
-
var value = /** @type {string} */ (reader.readString());
|
|
3771
|
-
msg.setTagId(value);
|
|
4657
|
+
var value = new proto.wechaty.puppet.TagIdentifier;
|
|
4658
|
+
reader.readMessage(value,proto.wechaty.puppet.TagIdentifier.deserializeBinaryFromReader);
|
|
4659
|
+
msg.setTag(value);
|
|
3772
4660
|
break;
|
|
3773
4661
|
default:
|
|
3774
4662
|
reader.skipField();
|
|
@@ -3783,9 +4671,9 @@ proto.wechaty.puppet.TagTagContactListRequest.deserializeBinaryFromReader = func
|
|
|
3783
4671
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3784
4672
|
* @return {!Uint8Array}
|
|
3785
4673
|
*/
|
|
3786
|
-
proto.wechaty.puppet.
|
|
4674
|
+
proto.wechaty.puppet.TagPayloadRequest.prototype.serializeBinary = function() {
|
|
3787
4675
|
var writer = new jspb.BinaryWriter();
|
|
3788
|
-
proto.wechaty.puppet.
|
|
4676
|
+
proto.wechaty.puppet.TagPayloadRequest.serializeBinaryToWriter(this, writer);
|
|
3789
4677
|
return writer.getResultBuffer();
|
|
3790
4678
|
};
|
|
3791
4679
|
|
|
@@ -3793,73 +4681,61 @@ proto.wechaty.puppet.TagTagContactListRequest.prototype.serializeBinary = functi
|
|
|
3793
4681
|
/**
|
|
3794
4682
|
* Serializes the given message to binary data (in protobuf wire
|
|
3795
4683
|
* format), writing to the given BinaryWriter.
|
|
3796
|
-
* @param {!proto.wechaty.puppet.
|
|
4684
|
+
* @param {!proto.wechaty.puppet.TagPayloadRequest} message
|
|
3797
4685
|
* @param {!jspb.BinaryWriter} writer
|
|
3798
4686
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3799
4687
|
*/
|
|
3800
|
-
proto.wechaty.puppet.
|
|
4688
|
+
proto.wechaty.puppet.TagPayloadRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3801
4689
|
var f = undefined;
|
|
3802
|
-
f = message.
|
|
3803
|
-
if (f
|
|
3804
|
-
writer.
|
|
4690
|
+
f = message.getTag();
|
|
4691
|
+
if (f != null) {
|
|
4692
|
+
writer.writeMessage(
|
|
3805
4693
|
1,
|
|
3806
|
-
f
|
|
3807
|
-
|
|
3808
|
-
}
|
|
3809
|
-
f = message.getTagId();
|
|
3810
|
-
if (f.length > 0) {
|
|
3811
|
-
writer.writeString(
|
|
3812
|
-
2,
|
|
3813
|
-
f
|
|
4694
|
+
f,
|
|
4695
|
+
proto.wechaty.puppet.TagIdentifier.serializeBinaryToWriter
|
|
3814
4696
|
);
|
|
3815
4697
|
}
|
|
3816
4698
|
};
|
|
3817
4699
|
|
|
3818
4700
|
|
|
3819
4701
|
/**
|
|
3820
|
-
* optional
|
|
3821
|
-
* @return {
|
|
4702
|
+
* optional TagIdentifier tag = 1;
|
|
4703
|
+
* @return {?proto.wechaty.puppet.TagIdentifier}
|
|
3822
4704
|
*/
|
|
3823
|
-
proto.wechaty.puppet.
|
|
3824
|
-
return /** @type
|
|
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));
|
|
3825
4708
|
};
|
|
3826
4709
|
|
|
3827
4710
|
|
|
3828
4711
|
/**
|
|
3829
|
-
* @param {
|
|
3830
|
-
* @return {!proto.wechaty.puppet.
|
|
3831
|
-
|
|
3832
|
-
proto.wechaty.puppet.
|
|
3833
|
-
return jspb.Message.
|
|
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);
|
|
3834
4717
|
};
|
|
3835
4718
|
|
|
3836
4719
|
|
|
3837
4720
|
/**
|
|
3838
|
-
*
|
|
3839
|
-
* @return {
|
|
4721
|
+
* Clears the message field making it undefined.
|
|
4722
|
+
* @return {!proto.wechaty.puppet.TagPayloadRequest} returns this
|
|
3840
4723
|
*/
|
|
3841
|
-
proto.wechaty.puppet.
|
|
3842
|
-
return
|
|
4724
|
+
proto.wechaty.puppet.TagPayloadRequest.prototype.clearTag = function() {
|
|
4725
|
+
return this.setTag(undefined);
|
|
3843
4726
|
};
|
|
3844
4727
|
|
|
3845
4728
|
|
|
3846
4729
|
/**
|
|
3847
|
-
*
|
|
3848
|
-
* @return {
|
|
4730
|
+
* Returns whether this field is set.
|
|
4731
|
+
* @return {boolean}
|
|
3849
4732
|
*/
|
|
3850
|
-
proto.wechaty.puppet.
|
|
3851
|
-
return jspb.Message.
|
|
4733
|
+
proto.wechaty.puppet.TagPayloadRequest.prototype.hasTag = function() {
|
|
4734
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3852
4735
|
};
|
|
3853
4736
|
|
|
3854
4737
|
|
|
3855
4738
|
|
|
3856
|
-
/**
|
|
3857
|
-
* List of repeated fields within this message type.
|
|
3858
|
-
* @private {!Array<number>}
|
|
3859
|
-
* @const
|
|
3860
|
-
*/
|
|
3861
|
-
proto.wechaty.puppet.TagTagContactListResponse.repeatedFields_ = [1];
|
|
3862
|
-
|
|
3863
4739
|
|
|
3864
4740
|
|
|
3865
4741
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3875,8 +4751,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3875
4751
|
* http://goto/soy-param-migration
|
|
3876
4752
|
* @return {!Object}
|
|
3877
4753
|
*/
|
|
3878
|
-
proto.wechaty.puppet.
|
|
3879
|
-
return proto.wechaty.puppet.
|
|
4754
|
+
proto.wechaty.puppet.TagPayloadResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4755
|
+
return proto.wechaty.puppet.TagPayloadResponse.toObject(opt_includeInstance, this);
|
|
3880
4756
|
};
|
|
3881
4757
|
|
|
3882
4758
|
|
|
@@ -3885,13 +4761,13 @@ proto.wechaty.puppet.TagTagContactListResponse.prototype.toObject = function(opt
|
|
|
3885
4761
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3886
4762
|
* the JSPB instance for transitional soy proto support:
|
|
3887
4763
|
* http://goto/soy-param-migration
|
|
3888
|
-
* @param {!proto.wechaty.puppet.
|
|
4764
|
+
* @param {!proto.wechaty.puppet.TagPayloadResponse} msg The msg instance to transform.
|
|
3889
4765
|
* @return {!Object}
|
|
3890
4766
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3891
4767
|
*/
|
|
3892
|
-
proto.wechaty.puppet.
|
|
4768
|
+
proto.wechaty.puppet.TagPayloadResponse.toObject = function(includeInstance, msg) {
|
|
3893
4769
|
var f, obj = {
|
|
3894
|
-
|
|
4770
|
+
payload: (f = msg.getPayload()) && proto.wechaty.puppet.TagPayload.toObject(includeInstance, f)
|
|
3895
4771
|
};
|
|
3896
4772
|
|
|
3897
4773
|
if (includeInstance) {
|
|
@@ -3905,23 +4781,23 @@ proto.wechaty.puppet.TagTagContactListResponse.toObject = function(includeInstan
|
|
|
3905
4781
|
/**
|
|
3906
4782
|
* Deserializes binary data (in protobuf wire format).
|
|
3907
4783
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3908
|
-
* @return {!proto.wechaty.puppet.
|
|
4784
|
+
* @return {!proto.wechaty.puppet.TagPayloadResponse}
|
|
3909
4785
|
*/
|
|
3910
|
-
proto.wechaty.puppet.
|
|
4786
|
+
proto.wechaty.puppet.TagPayloadResponse.deserializeBinary = function(bytes) {
|
|
3911
4787
|
var reader = new jspb.BinaryReader(bytes);
|
|
3912
|
-
var msg = new proto.wechaty.puppet.
|
|
3913
|
-
return proto.wechaty.puppet.
|
|
4788
|
+
var msg = new proto.wechaty.puppet.TagPayloadResponse;
|
|
4789
|
+
return proto.wechaty.puppet.TagPayloadResponse.deserializeBinaryFromReader(msg, reader);
|
|
3914
4790
|
};
|
|
3915
4791
|
|
|
3916
4792
|
|
|
3917
4793
|
/**
|
|
3918
4794
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3919
4795
|
* given reader into the given message object.
|
|
3920
|
-
* @param {!proto.wechaty.puppet.
|
|
4796
|
+
* @param {!proto.wechaty.puppet.TagPayloadResponse} msg The message object to deserialize into.
|
|
3921
4797
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3922
|
-
* @return {!proto.wechaty.puppet.
|
|
4798
|
+
* @return {!proto.wechaty.puppet.TagPayloadResponse}
|
|
3923
4799
|
*/
|
|
3924
|
-
proto.wechaty.puppet.
|
|
4800
|
+
proto.wechaty.puppet.TagPayloadResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3925
4801
|
while (reader.nextField()) {
|
|
3926
4802
|
if (reader.isEndGroup()) {
|
|
3927
4803
|
break;
|
|
@@ -3929,8 +4805,9 @@ proto.wechaty.puppet.TagTagContactListResponse.deserializeBinaryFromReader = fun
|
|
|
3929
4805
|
var field = reader.getFieldNumber();
|
|
3930
4806
|
switch (field) {
|
|
3931
4807
|
case 1:
|
|
3932
|
-
var value =
|
|
3933
|
-
|
|
4808
|
+
var value = new proto.wechaty.puppet.TagPayload;
|
|
4809
|
+
reader.readMessage(value,proto.wechaty.puppet.TagPayload.deserializeBinaryFromReader);
|
|
4810
|
+
msg.setPayload(value);
|
|
3934
4811
|
break;
|
|
3935
4812
|
default:
|
|
3936
4813
|
reader.skipField();
|
|
@@ -3945,9 +4822,9 @@ proto.wechaty.puppet.TagTagContactListResponse.deserializeBinaryFromReader = fun
|
|
|
3945
4822
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3946
4823
|
* @return {!Uint8Array}
|
|
3947
4824
|
*/
|
|
3948
|
-
proto.wechaty.puppet.
|
|
4825
|
+
proto.wechaty.puppet.TagPayloadResponse.prototype.serializeBinary = function() {
|
|
3949
4826
|
var writer = new jspb.BinaryWriter();
|
|
3950
|
-
proto.wechaty.puppet.
|
|
4827
|
+
proto.wechaty.puppet.TagPayloadResponse.serializeBinaryToWriter(this, writer);
|
|
3951
4828
|
return writer.getResultBuffer();
|
|
3952
4829
|
};
|
|
3953
4830
|
|
|
@@ -3955,56 +4832,57 @@ proto.wechaty.puppet.TagTagContactListResponse.prototype.serializeBinary = funct
|
|
|
3955
4832
|
/**
|
|
3956
4833
|
* Serializes the given message to binary data (in protobuf wire
|
|
3957
4834
|
* format), writing to the given BinaryWriter.
|
|
3958
|
-
* @param {!proto.wechaty.puppet.
|
|
4835
|
+
* @param {!proto.wechaty.puppet.TagPayloadResponse} message
|
|
3959
4836
|
* @param {!jspb.BinaryWriter} writer
|
|
3960
4837
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3961
4838
|
*/
|
|
3962
|
-
proto.wechaty.puppet.
|
|
4839
|
+
proto.wechaty.puppet.TagPayloadResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3963
4840
|
var f = undefined;
|
|
3964
|
-
f = message.
|
|
3965
|
-
if (f
|
|
3966
|
-
writer.
|
|
4841
|
+
f = message.getPayload();
|
|
4842
|
+
if (f != null) {
|
|
4843
|
+
writer.writeMessage(
|
|
3967
4844
|
1,
|
|
3968
|
-
f
|
|
4845
|
+
f,
|
|
4846
|
+
proto.wechaty.puppet.TagPayload.serializeBinaryToWriter
|
|
3969
4847
|
);
|
|
3970
4848
|
}
|
|
3971
4849
|
};
|
|
3972
4850
|
|
|
3973
4851
|
|
|
3974
4852
|
/**
|
|
3975
|
-
*
|
|
3976
|
-
* @return {
|
|
4853
|
+
* optional TagPayload payload = 1;
|
|
4854
|
+
* @return {?proto.wechaty.puppet.TagPayload}
|
|
3977
4855
|
*/
|
|
3978
|
-
proto.wechaty.puppet.
|
|
3979
|
-
return /** @type
|
|
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));
|
|
3980
4859
|
};
|
|
3981
4860
|
|
|
3982
4861
|
|
|
3983
4862
|
/**
|
|
3984
|
-
* @param {
|
|
3985
|
-
* @return {!proto.wechaty.puppet.
|
|
3986
|
-
|
|
3987
|
-
proto.wechaty.puppet.
|
|
3988
|
-
return jspb.Message.
|
|
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);
|
|
3989
4868
|
};
|
|
3990
4869
|
|
|
3991
4870
|
|
|
3992
4871
|
/**
|
|
3993
|
-
*
|
|
3994
|
-
* @
|
|
3995
|
-
* @return {!proto.wechaty.puppet.TagTagContactListResponse} returns this
|
|
4872
|
+
* Clears the message field making it undefined.
|
|
4873
|
+
* @return {!proto.wechaty.puppet.TagPayloadResponse} returns this
|
|
3996
4874
|
*/
|
|
3997
|
-
proto.wechaty.puppet.
|
|
3998
|
-
return
|
|
4875
|
+
proto.wechaty.puppet.TagPayloadResponse.prototype.clearPayload = function() {
|
|
4876
|
+
return this.setPayload(undefined);
|
|
3999
4877
|
};
|
|
4000
4878
|
|
|
4001
4879
|
|
|
4002
4880
|
/**
|
|
4003
|
-
*
|
|
4004
|
-
* @return {
|
|
4881
|
+
* Returns whether this field is set.
|
|
4882
|
+
* @return {boolean}
|
|
4005
4883
|
*/
|
|
4006
|
-
proto.wechaty.puppet.
|
|
4007
|
-
return
|
|
4884
|
+
proto.wechaty.puppet.TagPayloadResponse.prototype.hasPayload = function() {
|
|
4885
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4008
4886
|
};
|
|
4009
4887
|
|
|
4010
4888
|
|