WNewCustomerAddedNotice.pb.go 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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/WNewCustomerAddedNotice.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 NewCustomerAddedNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
  23. // int32 UnRead = 2; // 新客户未读数量
  24. Contact *CustomerMessage `protobuf:"bytes,3,opt,name=Contact,proto3" json:"Contact,omitempty"`
  25. unknownFields protoimpl.UnknownFields
  26. sizeCache protoimpl.SizeCache
  27. }
  28. func (x *NewCustomerAddedNoticeMessage) Reset() {
  29. *x = NewCustomerAddedNoticeMessage{}
  30. mi := &file_wecom_WNewCustomerAddedNotice_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. func (x *NewCustomerAddedNoticeMessage) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*NewCustomerAddedNoticeMessage) ProtoMessage() {}
  38. func (x *NewCustomerAddedNoticeMessage) ProtoReflect() protoreflect.Message {
  39. mi := &file_wecom_WNewCustomerAddedNotice_proto_msgTypes[0]
  40. if x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use NewCustomerAddedNoticeMessage.ProtoReflect.Descriptor instead.
  50. func (*NewCustomerAddedNoticeMessage) Descriptor() ([]byte, []int) {
  51. return file_wecom_WNewCustomerAddedNotice_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *NewCustomerAddedNoticeMessage) GetWxId() int64 {
  54. if x != nil {
  55. return x.WxId
  56. }
  57. return 0
  58. }
  59. func (x *NewCustomerAddedNoticeMessage) GetContact() *CustomerMessage {
  60. if x != nil {
  61. return x.Contact
  62. }
  63. return nil
  64. }
  65. var File_wecom_WNewCustomerAddedNotice_proto protoreflect.FileDescriptor
  66. const file_wecom_WNewCustomerAddedNotice_proto_rawDesc = "" +
  67. "\n" +
  68. "#wecom/WNewCustomerAddedNotice.proto\x12\x10Im.Scrm.Ww.Proto\x1a\x1fwecom/WCustomerPushNotice.proto\"p\n" +
  69. "\x1dNewCustomerAddedNoticeMessage\x12\x12\n" +
  70. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12;\n" +
  71. "\aContact\x18\x03 \x01(\v2!.Im.Scrm.Ww.Proto.CustomerMessageR\aContactB\x13Z\x11./workphone/wecomb\x06proto3"
  72. var (
  73. file_wecom_WNewCustomerAddedNotice_proto_rawDescOnce sync.Once
  74. file_wecom_WNewCustomerAddedNotice_proto_rawDescData []byte
  75. )
  76. func file_wecom_WNewCustomerAddedNotice_proto_rawDescGZIP() []byte {
  77. file_wecom_WNewCustomerAddedNotice_proto_rawDescOnce.Do(func() {
  78. file_wecom_WNewCustomerAddedNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WNewCustomerAddedNotice_proto_rawDesc), len(file_wecom_WNewCustomerAddedNotice_proto_rawDesc)))
  79. })
  80. return file_wecom_WNewCustomerAddedNotice_proto_rawDescData
  81. }
  82. var file_wecom_WNewCustomerAddedNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  83. var file_wecom_WNewCustomerAddedNotice_proto_goTypes = []any{
  84. (*NewCustomerAddedNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.NewCustomerAddedNoticeMessage
  85. (*CustomerMessage)(nil), // 1: Im.Scrm.Ww.Proto.CustomerMessage
  86. }
  87. var file_wecom_WNewCustomerAddedNotice_proto_depIdxs = []int32{
  88. 1, // 0: Im.Scrm.Ww.Proto.NewCustomerAddedNoticeMessage.Contact:type_name -> Im.Scrm.Ww.Proto.CustomerMessage
  89. 1, // [1:1] is the sub-list for method output_type
  90. 1, // [1:1] is the sub-list for method input_type
  91. 1, // [1:1] is the sub-list for extension type_name
  92. 1, // [1:1] is the sub-list for extension extendee
  93. 0, // [0:1] is the sub-list for field type_name
  94. }
  95. func init() { file_wecom_WNewCustomerAddedNotice_proto_init() }
  96. func file_wecom_WNewCustomerAddedNotice_proto_init() {
  97. if File_wecom_WNewCustomerAddedNotice_proto != nil {
  98. return
  99. }
  100. file_wecom_WCustomerPushNotice_proto_init()
  101. type x struct{}
  102. out := protoimpl.TypeBuilder{
  103. File: protoimpl.DescBuilder{
  104. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  105. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WNewCustomerAddedNotice_proto_rawDesc), len(file_wecom_WNewCustomerAddedNotice_proto_rawDesc)),
  106. NumEnums: 0,
  107. NumMessages: 1,
  108. NumExtensions: 0,
  109. NumServices: 0,
  110. },
  111. GoTypes: file_wecom_WNewCustomerAddedNotice_proto_goTypes,
  112. DependencyIndexes: file_wecom_WNewCustomerAddedNotice_proto_depIdxs,
  113. MessageInfos: file_wecom_WNewCustomerAddedNotice_proto_msgTypes,
  114. }.Build()
  115. File_wecom_WNewCustomerAddedNotice_proto = out.File
  116. file_wecom_WNewCustomerAddedNotice_proto_goTypes = nil
  117. file_wecom_WNewCustomerAddedNotice_proto_depIdxs = nil
  118. }