WCustomerAddNotice.pb.go 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v3.19.4
  5. // source: wecom/WCustomerAddNotice.proto
  6. package wecom
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type CustomerAddNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
  23. Contact *CustomerMessage `protobuf:"bytes,2,opt,name=Contact,proto3" json:"Contact,omitempty"` // 好友信息模型
  24. unknownFields protoimpl.UnknownFields
  25. sizeCache protoimpl.SizeCache
  26. }
  27. func (x *CustomerAddNoticeMessage) Reset() {
  28. *x = CustomerAddNoticeMessage{}
  29. mi := &file_wecom_WCustomerAddNotice_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. func (x *CustomerAddNoticeMessage) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*CustomerAddNoticeMessage) ProtoMessage() {}
  37. func (x *CustomerAddNoticeMessage) ProtoReflect() protoreflect.Message {
  38. mi := &file_wecom_WCustomerAddNotice_proto_msgTypes[0]
  39. if x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use CustomerAddNoticeMessage.ProtoReflect.Descriptor instead.
  49. func (*CustomerAddNoticeMessage) Descriptor() ([]byte, []int) {
  50. return file_wecom_WCustomerAddNotice_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *CustomerAddNoticeMessage) GetWxId() int64 {
  53. if x != nil {
  54. return x.WxId
  55. }
  56. return 0
  57. }
  58. func (x *CustomerAddNoticeMessage) GetContact() *CustomerMessage {
  59. if x != nil {
  60. return x.Contact
  61. }
  62. return nil
  63. }
  64. var File_wecom_WCustomerAddNotice_proto protoreflect.FileDescriptor
  65. const file_wecom_WCustomerAddNotice_proto_rawDesc = "" +
  66. "\n" +
  67. "\x1ewecom/WCustomerAddNotice.proto\x12\x10Im.Scrm.Ww.Proto\x1a\x1fwecom/WCustomerPushNotice.proto\"k\n" +
  68. "\x18CustomerAddNoticeMessage\x12\x12\n" +
  69. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12;\n" +
  70. "\aContact\x18\x02 \x01(\v2!.Im.Scrm.Ww.Proto.CustomerMessageR\aContactB\x13Z\x11./workphone/wecomb\x06proto3"
  71. var (
  72. file_wecom_WCustomerAddNotice_proto_rawDescOnce sync.Once
  73. file_wecom_WCustomerAddNotice_proto_rawDescData []byte
  74. )
  75. func file_wecom_WCustomerAddNotice_proto_rawDescGZIP() []byte {
  76. file_wecom_WCustomerAddNotice_proto_rawDescOnce.Do(func() {
  77. file_wecom_WCustomerAddNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WCustomerAddNotice_proto_rawDesc), len(file_wecom_WCustomerAddNotice_proto_rawDesc)))
  78. })
  79. return file_wecom_WCustomerAddNotice_proto_rawDescData
  80. }
  81. var file_wecom_WCustomerAddNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  82. var file_wecom_WCustomerAddNotice_proto_goTypes = []any{
  83. (*CustomerAddNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.CustomerAddNoticeMessage
  84. (*CustomerMessage)(nil), // 1: Im.Scrm.Ww.Proto.CustomerMessage
  85. }
  86. var file_wecom_WCustomerAddNotice_proto_depIdxs = []int32{
  87. 1, // 0: Im.Scrm.Ww.Proto.CustomerAddNoticeMessage.Contact:type_name -> Im.Scrm.Ww.Proto.CustomerMessage
  88. 1, // [1:1] is the sub-list for method output_type
  89. 1, // [1:1] is the sub-list for method input_type
  90. 1, // [1:1] is the sub-list for extension type_name
  91. 1, // [1:1] is the sub-list for extension extendee
  92. 0, // [0:1] is the sub-list for field type_name
  93. }
  94. func init() { file_wecom_WCustomerAddNotice_proto_init() }
  95. func file_wecom_WCustomerAddNotice_proto_init() {
  96. if File_wecom_WCustomerAddNotice_proto != nil {
  97. return
  98. }
  99. file_wecom_WCustomerPushNotice_proto_init()
  100. type x struct{}
  101. out := protoimpl.TypeBuilder{
  102. File: protoimpl.DescBuilder{
  103. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  104. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WCustomerAddNotice_proto_rawDesc), len(file_wecom_WCustomerAddNotice_proto_rawDesc)),
  105. NumEnums: 0,
  106. NumMessages: 1,
  107. NumExtensions: 0,
  108. NumServices: 0,
  109. },
  110. GoTypes: file_wecom_WCustomerAddNotice_proto_goTypes,
  111. DependencyIndexes: file_wecom_WCustomerAddNotice_proto_depIdxs,
  112. MessageInfos: file_wecom_WCustomerAddNotice_proto_msgTypes,
  113. }.Build()
  114. File_wecom_WCustomerAddNotice_proto = out.File
  115. file_wecom_WCustomerAddNotice_proto_goTypes = nil
  116. file_wecom_WCustomerAddNotice_proto_depIdxs = nil
  117. }