@juzi/wechaty-grpc 1.0.50 → 1.0.51
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/contact_pb.d.ts +34 -0
- package/dist/cjs/out/wechaty/puppet/contact_pb.js +357 -51
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +5 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +5 -1
- package/dist/cjs/proto/wechaty/puppet/contact.proto +17 -17
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/contact_pb.d.ts +34 -0
- package/dist/esm/out/wechaty/puppet/contact_pb.js +357 -51
- package/dist/esm/out/wechaty/puppet.openapi.yaml +5 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +5 -1
- package/dist/esm/proto/wechaty/puppet/contact.proto +17 -17
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/contact_pb.d.ts +34 -0
- package/out/wechaty/puppet/contact_pb.js +357 -51
- package/out/wechaty/puppet.openapi.yaml +5 -1
- package/out/wechaty/puppet.swagger.json +5 -1
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -566,51 +566,83 @@ export class ContactPayloadModifyRequest extends jspb.Message {
|
|
|
566
566
|
getId(): string;
|
|
567
567
|
setId(value: string): void;
|
|
568
568
|
|
|
569
|
+
hasGender(): boolean;
|
|
570
|
+
clearGender(): void;
|
|
569
571
|
getGender(): ContactGenderMap[keyof ContactGenderMap];
|
|
570
572
|
setGender(value: ContactGenderMap[keyof ContactGenderMap]): void;
|
|
571
573
|
|
|
574
|
+
hasType(): boolean;
|
|
575
|
+
clearType(): void;
|
|
572
576
|
getType(): ContactTypeMap[keyof ContactTypeMap];
|
|
573
577
|
setType(value: ContactTypeMap[keyof ContactTypeMap]): void;
|
|
574
578
|
|
|
579
|
+
hasName(): boolean;
|
|
580
|
+
clearName(): void;
|
|
575
581
|
getName(): string;
|
|
576
582
|
setName(value: string): void;
|
|
577
583
|
|
|
584
|
+
hasAvatar(): boolean;
|
|
585
|
+
clearAvatar(): void;
|
|
578
586
|
getAvatar(): string;
|
|
579
587
|
setAvatar(value: string): void;
|
|
580
588
|
|
|
589
|
+
hasAddress(): boolean;
|
|
590
|
+
clearAddress(): void;
|
|
581
591
|
getAddress(): string;
|
|
582
592
|
setAddress(value: string): void;
|
|
583
593
|
|
|
594
|
+
hasAlias(): boolean;
|
|
595
|
+
clearAlias(): void;
|
|
584
596
|
getAlias(): string;
|
|
585
597
|
setAlias(value: string): void;
|
|
586
598
|
|
|
599
|
+
hasCity(): boolean;
|
|
600
|
+
clearCity(): void;
|
|
587
601
|
getCity(): string;
|
|
588
602
|
setCity(value: string): void;
|
|
589
603
|
|
|
604
|
+
hasFriend(): boolean;
|
|
605
|
+
clearFriend(): void;
|
|
590
606
|
getFriend(): boolean;
|
|
591
607
|
setFriend(value: boolean): void;
|
|
592
608
|
|
|
609
|
+
hasProvince(): boolean;
|
|
610
|
+
clearProvince(): void;
|
|
593
611
|
getProvince(): string;
|
|
594
612
|
setProvince(value: string): void;
|
|
595
613
|
|
|
614
|
+
hasSignature(): boolean;
|
|
615
|
+
clearSignature(): void;
|
|
596
616
|
getSignature(): string;
|
|
597
617
|
setSignature(value: string): void;
|
|
598
618
|
|
|
619
|
+
hasStar(): boolean;
|
|
620
|
+
clearStar(): void;
|
|
599
621
|
getStar(): boolean;
|
|
600
622
|
setStar(value: boolean): void;
|
|
601
623
|
|
|
624
|
+
hasWeixin(): boolean;
|
|
625
|
+
clearWeixin(): void;
|
|
602
626
|
getWeixin(): string;
|
|
603
627
|
setWeixin(value: string): void;
|
|
604
628
|
|
|
629
|
+
hasCorporation(): boolean;
|
|
630
|
+
clearCorporation(): void;
|
|
605
631
|
getCorporation(): string;
|
|
606
632
|
setCorporation(value: string): void;
|
|
607
633
|
|
|
634
|
+
hasTitle(): boolean;
|
|
635
|
+
clearTitle(): void;
|
|
608
636
|
getTitle(): string;
|
|
609
637
|
setTitle(value: string): void;
|
|
610
638
|
|
|
639
|
+
hasDescription(): boolean;
|
|
640
|
+
clearDescription(): void;
|
|
611
641
|
getDescription(): string;
|
|
612
642
|
setDescription(value: string): void;
|
|
613
643
|
|
|
644
|
+
hasCoworker(): boolean;
|
|
645
|
+
clearCoworker(): void;
|
|
614
646
|
getCoworker(): boolean;
|
|
615
647
|
setCoworker(value: boolean): void;
|
|
616
648
|
|
|
@@ -619,6 +651,8 @@ export class ContactPayloadModifyRequest extends jspb.Message {
|
|
|
619
651
|
setPhonesList(value: Array<string>): void;
|
|
620
652
|
addPhones(value: string, index?: number): string;
|
|
621
653
|
|
|
654
|
+
hasAdditionalInfo(): boolean;
|
|
655
|
+
clearAdditionalInfo(): void;
|
|
622
656
|
getAdditionalInfo(): string;
|
|
623
657
|
setAdditionalInfo(value: string): void;
|
|
624
658
|
|
|
@@ -4600,113 +4600,113 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.serializeBinaryToWriter = funct
|
|
|
4600
4600
|
f
|
|
4601
4601
|
);
|
|
4602
4602
|
}
|
|
4603
|
-
f =
|
|
4604
|
-
if (f
|
|
4603
|
+
f = /** @type {!proto.wechaty.puppet.ContactGender} */ (jspb.Message.getField(message, 2));
|
|
4604
|
+
if (f != null) {
|
|
4605
4605
|
writer.writeEnum(
|
|
4606
4606
|
2,
|
|
4607
4607
|
f
|
|
4608
4608
|
);
|
|
4609
4609
|
}
|
|
4610
|
-
f =
|
|
4611
|
-
if (f
|
|
4610
|
+
f = /** @type {!proto.wechaty.puppet.ContactType} */ (jspb.Message.getField(message, 3));
|
|
4611
|
+
if (f != null) {
|
|
4612
4612
|
writer.writeEnum(
|
|
4613
4613
|
3,
|
|
4614
4614
|
f
|
|
4615
4615
|
);
|
|
4616
4616
|
}
|
|
4617
|
-
f =
|
|
4618
|
-
if (f
|
|
4617
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
4618
|
+
if (f != null) {
|
|
4619
4619
|
writer.writeString(
|
|
4620
4620
|
4,
|
|
4621
4621
|
f
|
|
4622
4622
|
);
|
|
4623
4623
|
}
|
|
4624
|
-
f =
|
|
4625
|
-
if (f
|
|
4624
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
4625
|
+
if (f != null) {
|
|
4626
4626
|
writer.writeString(
|
|
4627
4627
|
5,
|
|
4628
4628
|
f
|
|
4629
4629
|
);
|
|
4630
4630
|
}
|
|
4631
|
-
f =
|
|
4632
|
-
if (f
|
|
4631
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
4632
|
+
if (f != null) {
|
|
4633
4633
|
writer.writeString(
|
|
4634
4634
|
6,
|
|
4635
4635
|
f
|
|
4636
4636
|
);
|
|
4637
4637
|
}
|
|
4638
|
-
f =
|
|
4639
|
-
if (f
|
|
4638
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
4639
|
+
if (f != null) {
|
|
4640
4640
|
writer.writeString(
|
|
4641
4641
|
7,
|
|
4642
4642
|
f
|
|
4643
4643
|
);
|
|
4644
4644
|
}
|
|
4645
|
-
f =
|
|
4646
|
-
if (f
|
|
4645
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
4646
|
+
if (f != null) {
|
|
4647
4647
|
writer.writeString(
|
|
4648
4648
|
8,
|
|
4649
4649
|
f
|
|
4650
4650
|
);
|
|
4651
4651
|
}
|
|
4652
|
-
f =
|
|
4653
|
-
if (f) {
|
|
4652
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
|
|
4653
|
+
if (f != null) {
|
|
4654
4654
|
writer.writeBool(
|
|
4655
4655
|
9,
|
|
4656
4656
|
f
|
|
4657
4657
|
);
|
|
4658
4658
|
}
|
|
4659
|
-
f =
|
|
4660
|
-
if (f
|
|
4659
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
4660
|
+
if (f != null) {
|
|
4661
4661
|
writer.writeString(
|
|
4662
4662
|
10,
|
|
4663
4663
|
f
|
|
4664
4664
|
);
|
|
4665
4665
|
}
|
|
4666
|
-
f =
|
|
4667
|
-
if (f
|
|
4666
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
4667
|
+
if (f != null) {
|
|
4668
4668
|
writer.writeString(
|
|
4669
4669
|
11,
|
|
4670
4670
|
f
|
|
4671
4671
|
);
|
|
4672
4672
|
}
|
|
4673
|
-
f =
|
|
4674
|
-
if (f) {
|
|
4673
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 12));
|
|
4674
|
+
if (f != null) {
|
|
4675
4675
|
writer.writeBool(
|
|
4676
4676
|
12,
|
|
4677
4677
|
f
|
|
4678
4678
|
);
|
|
4679
4679
|
}
|
|
4680
|
-
f =
|
|
4681
|
-
if (f
|
|
4680
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
4681
|
+
if (f != null) {
|
|
4682
4682
|
writer.writeString(
|
|
4683
4683
|
13,
|
|
4684
4684
|
f
|
|
4685
4685
|
);
|
|
4686
4686
|
}
|
|
4687
|
-
f =
|
|
4688
|
-
if (f
|
|
4687
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
4688
|
+
if (f != null) {
|
|
4689
4689
|
writer.writeString(
|
|
4690
4690
|
14,
|
|
4691
4691
|
f
|
|
4692
4692
|
);
|
|
4693
4693
|
}
|
|
4694
|
-
f =
|
|
4695
|
-
if (f
|
|
4694
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
4695
|
+
if (f != null) {
|
|
4696
4696
|
writer.writeString(
|
|
4697
4697
|
15,
|
|
4698
4698
|
f
|
|
4699
4699
|
);
|
|
4700
4700
|
}
|
|
4701
|
-
f =
|
|
4702
|
-
if (f
|
|
4701
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
4702
|
+
if (f != null) {
|
|
4703
4703
|
writer.writeString(
|
|
4704
4704
|
16,
|
|
4705
4705
|
f
|
|
4706
4706
|
);
|
|
4707
4707
|
}
|
|
4708
|
-
f =
|
|
4709
|
-
if (f) {
|
|
4708
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 17));
|
|
4709
|
+
if (f != null) {
|
|
4710
4710
|
writer.writeBool(
|
|
4711
4711
|
17,
|
|
4712
4712
|
f
|
|
@@ -4719,8 +4719,8 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.serializeBinaryToWriter = funct
|
|
|
4719
4719
|
f
|
|
4720
4720
|
);
|
|
4721
4721
|
}
|
|
4722
|
-
f =
|
|
4723
|
-
if (f
|
|
4722
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 19));
|
|
4723
|
+
if (f != null) {
|
|
4724
4724
|
writer.writeString(
|
|
4725
4725
|
19,
|
|
4726
4726
|
f
|
|
@@ -4768,7 +4768,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getGender = function(
|
|
|
4768
4768
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4769
4769
|
*/
|
|
4770
4770
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setGender = function(value) {
|
|
4771
|
-
return jspb.Message.
|
|
4771
|
+
return jspb.Message.setField(this, 2, value);
|
|
4772
|
+
};
|
|
4773
|
+
|
|
4774
|
+
|
|
4775
|
+
/**
|
|
4776
|
+
* Clears the field making it undefined.
|
|
4777
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4778
|
+
*/
|
|
4779
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearGender = function() {
|
|
4780
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
4781
|
+
};
|
|
4782
|
+
|
|
4783
|
+
|
|
4784
|
+
/**
|
|
4785
|
+
* Returns whether this field is set.
|
|
4786
|
+
* @return {boolean}
|
|
4787
|
+
*/
|
|
4788
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasGender = function() {
|
|
4789
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4772
4790
|
};
|
|
4773
4791
|
|
|
4774
4792
|
|
|
@@ -4786,7 +4804,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getType = function()
|
|
|
4786
4804
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4787
4805
|
*/
|
|
4788
4806
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setType = function(value) {
|
|
4789
|
-
return jspb.Message.
|
|
4807
|
+
return jspb.Message.setField(this, 3, value);
|
|
4808
|
+
};
|
|
4809
|
+
|
|
4810
|
+
|
|
4811
|
+
/**
|
|
4812
|
+
* Clears the field making it undefined.
|
|
4813
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4814
|
+
*/
|
|
4815
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearType = function() {
|
|
4816
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
4817
|
+
};
|
|
4818
|
+
|
|
4819
|
+
|
|
4820
|
+
/**
|
|
4821
|
+
* Returns whether this field is set.
|
|
4822
|
+
* @return {boolean}
|
|
4823
|
+
*/
|
|
4824
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasType = function() {
|
|
4825
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4790
4826
|
};
|
|
4791
4827
|
|
|
4792
4828
|
|
|
@@ -4804,7 +4840,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getName = function()
|
|
|
4804
4840
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4805
4841
|
*/
|
|
4806
4842
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setName = function(value) {
|
|
4807
|
-
return jspb.Message.
|
|
4843
|
+
return jspb.Message.setField(this, 4, value);
|
|
4844
|
+
};
|
|
4845
|
+
|
|
4846
|
+
|
|
4847
|
+
/**
|
|
4848
|
+
* Clears the field making it undefined.
|
|
4849
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4850
|
+
*/
|
|
4851
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearName = function() {
|
|
4852
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
4853
|
+
};
|
|
4854
|
+
|
|
4855
|
+
|
|
4856
|
+
/**
|
|
4857
|
+
* Returns whether this field is set.
|
|
4858
|
+
* @return {boolean}
|
|
4859
|
+
*/
|
|
4860
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasName = function() {
|
|
4861
|
+
return jspb.Message.getField(this, 4) != null;
|
|
4808
4862
|
};
|
|
4809
4863
|
|
|
4810
4864
|
|
|
@@ -4822,7 +4876,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getAvatar = function(
|
|
|
4822
4876
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4823
4877
|
*/
|
|
4824
4878
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setAvatar = function(value) {
|
|
4825
|
-
return jspb.Message.
|
|
4879
|
+
return jspb.Message.setField(this, 5, value);
|
|
4880
|
+
};
|
|
4881
|
+
|
|
4882
|
+
|
|
4883
|
+
/**
|
|
4884
|
+
* Clears the field making it undefined.
|
|
4885
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4886
|
+
*/
|
|
4887
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearAvatar = function() {
|
|
4888
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
4889
|
+
};
|
|
4890
|
+
|
|
4891
|
+
|
|
4892
|
+
/**
|
|
4893
|
+
* Returns whether this field is set.
|
|
4894
|
+
* @return {boolean}
|
|
4895
|
+
*/
|
|
4896
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasAvatar = function() {
|
|
4897
|
+
return jspb.Message.getField(this, 5) != null;
|
|
4826
4898
|
};
|
|
4827
4899
|
|
|
4828
4900
|
|
|
@@ -4840,7 +4912,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getAddress = function
|
|
|
4840
4912
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4841
4913
|
*/
|
|
4842
4914
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setAddress = function(value) {
|
|
4843
|
-
return jspb.Message.
|
|
4915
|
+
return jspb.Message.setField(this, 6, value);
|
|
4916
|
+
};
|
|
4917
|
+
|
|
4918
|
+
|
|
4919
|
+
/**
|
|
4920
|
+
* Clears the field making it undefined.
|
|
4921
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4922
|
+
*/
|
|
4923
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearAddress = function() {
|
|
4924
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
4925
|
+
};
|
|
4926
|
+
|
|
4927
|
+
|
|
4928
|
+
/**
|
|
4929
|
+
* Returns whether this field is set.
|
|
4930
|
+
* @return {boolean}
|
|
4931
|
+
*/
|
|
4932
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasAddress = function() {
|
|
4933
|
+
return jspb.Message.getField(this, 6) != null;
|
|
4844
4934
|
};
|
|
4845
4935
|
|
|
4846
4936
|
|
|
@@ -4858,7 +4948,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getAlias = function()
|
|
|
4858
4948
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4859
4949
|
*/
|
|
4860
4950
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setAlias = function(value) {
|
|
4861
|
-
return jspb.Message.
|
|
4951
|
+
return jspb.Message.setField(this, 7, value);
|
|
4952
|
+
};
|
|
4953
|
+
|
|
4954
|
+
|
|
4955
|
+
/**
|
|
4956
|
+
* Clears the field making it undefined.
|
|
4957
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4958
|
+
*/
|
|
4959
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearAlias = function() {
|
|
4960
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
4961
|
+
};
|
|
4962
|
+
|
|
4963
|
+
|
|
4964
|
+
/**
|
|
4965
|
+
* Returns whether this field is set.
|
|
4966
|
+
* @return {boolean}
|
|
4967
|
+
*/
|
|
4968
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasAlias = function() {
|
|
4969
|
+
return jspb.Message.getField(this, 7) != null;
|
|
4862
4970
|
};
|
|
4863
4971
|
|
|
4864
4972
|
|
|
@@ -4876,7 +4984,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getCity = function()
|
|
|
4876
4984
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4877
4985
|
*/
|
|
4878
4986
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setCity = function(value) {
|
|
4879
|
-
return jspb.Message.
|
|
4987
|
+
return jspb.Message.setField(this, 8, value);
|
|
4988
|
+
};
|
|
4989
|
+
|
|
4990
|
+
|
|
4991
|
+
/**
|
|
4992
|
+
* Clears the field making it undefined.
|
|
4993
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4994
|
+
*/
|
|
4995
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearCity = function() {
|
|
4996
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
4997
|
+
};
|
|
4998
|
+
|
|
4999
|
+
|
|
5000
|
+
/**
|
|
5001
|
+
* Returns whether this field is set.
|
|
5002
|
+
* @return {boolean}
|
|
5003
|
+
*/
|
|
5004
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasCity = function() {
|
|
5005
|
+
return jspb.Message.getField(this, 8) != null;
|
|
4880
5006
|
};
|
|
4881
5007
|
|
|
4882
5008
|
|
|
@@ -4894,7 +5020,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getFriend = function(
|
|
|
4894
5020
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4895
5021
|
*/
|
|
4896
5022
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setFriend = function(value) {
|
|
4897
|
-
return jspb.Message.
|
|
5023
|
+
return jspb.Message.setField(this, 9, value);
|
|
5024
|
+
};
|
|
5025
|
+
|
|
5026
|
+
|
|
5027
|
+
/**
|
|
5028
|
+
* Clears the field making it undefined.
|
|
5029
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5030
|
+
*/
|
|
5031
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearFriend = function() {
|
|
5032
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
5033
|
+
};
|
|
5034
|
+
|
|
5035
|
+
|
|
5036
|
+
/**
|
|
5037
|
+
* Returns whether this field is set.
|
|
5038
|
+
* @return {boolean}
|
|
5039
|
+
*/
|
|
5040
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasFriend = function() {
|
|
5041
|
+
return jspb.Message.getField(this, 9) != null;
|
|
4898
5042
|
};
|
|
4899
5043
|
|
|
4900
5044
|
|
|
@@ -4912,7 +5056,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getProvince = functio
|
|
|
4912
5056
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4913
5057
|
*/
|
|
4914
5058
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setProvince = function(value) {
|
|
4915
|
-
return jspb.Message.
|
|
5059
|
+
return jspb.Message.setField(this, 10, value);
|
|
5060
|
+
};
|
|
5061
|
+
|
|
5062
|
+
|
|
5063
|
+
/**
|
|
5064
|
+
* Clears the field making it undefined.
|
|
5065
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5066
|
+
*/
|
|
5067
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearProvince = function() {
|
|
5068
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
5069
|
+
};
|
|
5070
|
+
|
|
5071
|
+
|
|
5072
|
+
/**
|
|
5073
|
+
* Returns whether this field is set.
|
|
5074
|
+
* @return {boolean}
|
|
5075
|
+
*/
|
|
5076
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasProvince = function() {
|
|
5077
|
+
return jspb.Message.getField(this, 10) != null;
|
|
4916
5078
|
};
|
|
4917
5079
|
|
|
4918
5080
|
|
|
@@ -4930,7 +5092,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getSignature = functi
|
|
|
4930
5092
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4931
5093
|
*/
|
|
4932
5094
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setSignature = function(value) {
|
|
4933
|
-
return jspb.Message.
|
|
5095
|
+
return jspb.Message.setField(this, 11, value);
|
|
5096
|
+
};
|
|
5097
|
+
|
|
5098
|
+
|
|
5099
|
+
/**
|
|
5100
|
+
* Clears the field making it undefined.
|
|
5101
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5102
|
+
*/
|
|
5103
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearSignature = function() {
|
|
5104
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
5105
|
+
};
|
|
5106
|
+
|
|
5107
|
+
|
|
5108
|
+
/**
|
|
5109
|
+
* Returns whether this field is set.
|
|
5110
|
+
* @return {boolean}
|
|
5111
|
+
*/
|
|
5112
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasSignature = function() {
|
|
5113
|
+
return jspb.Message.getField(this, 11) != null;
|
|
4934
5114
|
};
|
|
4935
5115
|
|
|
4936
5116
|
|
|
@@ -4948,7 +5128,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getStar = function()
|
|
|
4948
5128
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4949
5129
|
*/
|
|
4950
5130
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setStar = function(value) {
|
|
4951
|
-
return jspb.Message.
|
|
5131
|
+
return jspb.Message.setField(this, 12, value);
|
|
5132
|
+
};
|
|
5133
|
+
|
|
5134
|
+
|
|
5135
|
+
/**
|
|
5136
|
+
* Clears the field making it undefined.
|
|
5137
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5138
|
+
*/
|
|
5139
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearStar = function() {
|
|
5140
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
5141
|
+
};
|
|
5142
|
+
|
|
5143
|
+
|
|
5144
|
+
/**
|
|
5145
|
+
* Returns whether this field is set.
|
|
5146
|
+
* @return {boolean}
|
|
5147
|
+
*/
|
|
5148
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasStar = function() {
|
|
5149
|
+
return jspb.Message.getField(this, 12) != null;
|
|
4952
5150
|
};
|
|
4953
5151
|
|
|
4954
5152
|
|
|
@@ -4966,7 +5164,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getWeixin = function(
|
|
|
4966
5164
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4967
5165
|
*/
|
|
4968
5166
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setWeixin = function(value) {
|
|
4969
|
-
return jspb.Message.
|
|
5167
|
+
return jspb.Message.setField(this, 13, value);
|
|
5168
|
+
};
|
|
5169
|
+
|
|
5170
|
+
|
|
5171
|
+
/**
|
|
5172
|
+
* Clears the field making it undefined.
|
|
5173
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5174
|
+
*/
|
|
5175
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearWeixin = function() {
|
|
5176
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
5177
|
+
};
|
|
5178
|
+
|
|
5179
|
+
|
|
5180
|
+
/**
|
|
5181
|
+
* Returns whether this field is set.
|
|
5182
|
+
* @return {boolean}
|
|
5183
|
+
*/
|
|
5184
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasWeixin = function() {
|
|
5185
|
+
return jspb.Message.getField(this, 13) != null;
|
|
4970
5186
|
};
|
|
4971
5187
|
|
|
4972
5188
|
|
|
@@ -4984,7 +5200,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getCorporation = func
|
|
|
4984
5200
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
4985
5201
|
*/
|
|
4986
5202
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setCorporation = function(value) {
|
|
4987
|
-
return jspb.Message.
|
|
5203
|
+
return jspb.Message.setField(this, 14, value);
|
|
5204
|
+
};
|
|
5205
|
+
|
|
5206
|
+
|
|
5207
|
+
/**
|
|
5208
|
+
* Clears the field making it undefined.
|
|
5209
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5210
|
+
*/
|
|
5211
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearCorporation = function() {
|
|
5212
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
5213
|
+
};
|
|
5214
|
+
|
|
5215
|
+
|
|
5216
|
+
/**
|
|
5217
|
+
* Returns whether this field is set.
|
|
5218
|
+
* @return {boolean}
|
|
5219
|
+
*/
|
|
5220
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasCorporation = function() {
|
|
5221
|
+
return jspb.Message.getField(this, 14) != null;
|
|
4988
5222
|
};
|
|
4989
5223
|
|
|
4990
5224
|
|
|
@@ -5002,7 +5236,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getTitle = function()
|
|
|
5002
5236
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5003
5237
|
*/
|
|
5004
5238
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setTitle = function(value) {
|
|
5005
|
-
return jspb.Message.
|
|
5239
|
+
return jspb.Message.setField(this, 15, value);
|
|
5240
|
+
};
|
|
5241
|
+
|
|
5242
|
+
|
|
5243
|
+
/**
|
|
5244
|
+
* Clears the field making it undefined.
|
|
5245
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5246
|
+
*/
|
|
5247
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearTitle = function() {
|
|
5248
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
5249
|
+
};
|
|
5250
|
+
|
|
5251
|
+
|
|
5252
|
+
/**
|
|
5253
|
+
* Returns whether this field is set.
|
|
5254
|
+
* @return {boolean}
|
|
5255
|
+
*/
|
|
5256
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasTitle = function() {
|
|
5257
|
+
return jspb.Message.getField(this, 15) != null;
|
|
5006
5258
|
};
|
|
5007
5259
|
|
|
5008
5260
|
|
|
@@ -5020,7 +5272,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getDescription = func
|
|
|
5020
5272
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5021
5273
|
*/
|
|
5022
5274
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setDescription = function(value) {
|
|
5023
|
-
return jspb.Message.
|
|
5275
|
+
return jspb.Message.setField(this, 16, value);
|
|
5276
|
+
};
|
|
5277
|
+
|
|
5278
|
+
|
|
5279
|
+
/**
|
|
5280
|
+
* Clears the field making it undefined.
|
|
5281
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5282
|
+
*/
|
|
5283
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearDescription = function() {
|
|
5284
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
5285
|
+
};
|
|
5286
|
+
|
|
5287
|
+
|
|
5288
|
+
/**
|
|
5289
|
+
* Returns whether this field is set.
|
|
5290
|
+
* @return {boolean}
|
|
5291
|
+
*/
|
|
5292
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasDescription = function() {
|
|
5293
|
+
return jspb.Message.getField(this, 16) != null;
|
|
5024
5294
|
};
|
|
5025
5295
|
|
|
5026
5296
|
|
|
@@ -5038,7 +5308,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getCoworker = functio
|
|
|
5038
5308
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5039
5309
|
*/
|
|
5040
5310
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setCoworker = function(value) {
|
|
5041
|
-
return jspb.Message.
|
|
5311
|
+
return jspb.Message.setField(this, 17, value);
|
|
5312
|
+
};
|
|
5313
|
+
|
|
5314
|
+
|
|
5315
|
+
/**
|
|
5316
|
+
* Clears the field making it undefined.
|
|
5317
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5318
|
+
*/
|
|
5319
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearCoworker = function() {
|
|
5320
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
5321
|
+
};
|
|
5322
|
+
|
|
5323
|
+
|
|
5324
|
+
/**
|
|
5325
|
+
* Returns whether this field is set.
|
|
5326
|
+
* @return {boolean}
|
|
5327
|
+
*/
|
|
5328
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasCoworker = function() {
|
|
5329
|
+
return jspb.Message.getField(this, 17) != null;
|
|
5042
5330
|
};
|
|
5043
5331
|
|
|
5044
5332
|
|
|
@@ -5093,7 +5381,25 @@ proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.getAdditionalInfo = f
|
|
|
5093
5381
|
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5094
5382
|
*/
|
|
5095
5383
|
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.setAdditionalInfo = function(value) {
|
|
5096
|
-
return jspb.Message.
|
|
5384
|
+
return jspb.Message.setField(this, 19, value);
|
|
5385
|
+
};
|
|
5386
|
+
|
|
5387
|
+
|
|
5388
|
+
/**
|
|
5389
|
+
* Clears the field making it undefined.
|
|
5390
|
+
* @return {!proto.wechaty.puppet.ContactPayloadModifyRequest} returns this
|
|
5391
|
+
*/
|
|
5392
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.clearAdditionalInfo = function() {
|
|
5393
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
5394
|
+
};
|
|
5395
|
+
|
|
5396
|
+
|
|
5397
|
+
/**
|
|
5398
|
+
* Returns whether this field is set.
|
|
5399
|
+
* @return {boolean}
|
|
5400
|
+
*/
|
|
5401
|
+
proto.wechaty.puppet.ContactPayloadModifyRequest.prototype.hasAdditionalInfo = function() {
|
|
5402
|
+
return jspb.Message.getField(this, 19) != null;
|
|
5097
5403
|
};
|
|
5098
5404
|
|
|
5099
5405
|
|