CallLogPushNotice.pb.go 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.2
  4. // protoc v5.28.3
  5. // source: CallLogPushNotice.proto
  6. package workphone
  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. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type CallLogMessage struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Id int32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
  24. Number string `protobuf:"bytes,2,opt,name=Number,proto3" json:"Number,omitempty"` //
  25. Type int32 `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"` // 1 incoming,2 outgoing,3 missed 4 voicemail 5 rejected 6 blocked 7 ANSWERED_EXTERNALLY
  26. Date int64 `protobuf:"varint,4,opt,name=Date,proto3" json:"Date,omitempty"` // 呼入呼出时间 UTC时间,秒
  27. Duration int32 `protobuf:"varint,5,opt,name=Duration,proto3" json:"Duration,omitempty"` // 通话时长
  28. Record string `protobuf:"bytes,6,opt,name=Record,proto3" json:"Record,omitempty"` // 通话录音url
  29. SimId int32 `protobuf:"varint,7,opt,name=SimId,proto3" json:"SimId,omitempty"`
  30. BlockType int32 `protobuf:"varint,8,opt,name=BlockType,proto3" json:"BlockType,omitempty"`
  31. }
  32. func (x *CallLogMessage) Reset() {
  33. *x = CallLogMessage{}
  34. mi := &file_CallLogPushNotice_proto_msgTypes[0]
  35. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  36. ms.StoreMessageInfo(mi)
  37. }
  38. func (x *CallLogMessage) String() string {
  39. return protoimpl.X.MessageStringOf(x)
  40. }
  41. func (*CallLogMessage) ProtoMessage() {}
  42. func (x *CallLogMessage) ProtoReflect() protoreflect.Message {
  43. mi := &file_CallLogPushNotice_proto_msgTypes[0]
  44. if x != nil {
  45. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  46. if ms.LoadMessageInfo() == nil {
  47. ms.StoreMessageInfo(mi)
  48. }
  49. return ms
  50. }
  51. return mi.MessageOf(x)
  52. }
  53. // Deprecated: Use CallLogMessage.ProtoReflect.Descriptor instead.
  54. func (*CallLogMessage) Descriptor() ([]byte, []int) {
  55. return file_CallLogPushNotice_proto_rawDescGZIP(), []int{0}
  56. }
  57. func (x *CallLogMessage) GetId() int32 {
  58. if x != nil {
  59. return x.Id
  60. }
  61. return 0
  62. }
  63. func (x *CallLogMessage) GetNumber() string {
  64. if x != nil {
  65. return x.Number
  66. }
  67. return ""
  68. }
  69. func (x *CallLogMessage) GetType() int32 {
  70. if x != nil {
  71. return x.Type
  72. }
  73. return 0
  74. }
  75. func (x *CallLogMessage) GetDate() int64 {
  76. if x != nil {
  77. return x.Date
  78. }
  79. return 0
  80. }
  81. func (x *CallLogMessage) GetDuration() int32 {
  82. if x != nil {
  83. return x.Duration
  84. }
  85. return 0
  86. }
  87. func (x *CallLogMessage) GetRecord() string {
  88. if x != nil {
  89. return x.Record
  90. }
  91. return ""
  92. }
  93. func (x *CallLogMessage) GetSimId() int32 {
  94. if x != nil {
  95. return x.SimId
  96. }
  97. return 0
  98. }
  99. func (x *CallLogMessage) GetBlockType() int32 {
  100. if x != nil {
  101. return x.BlockType
  102. }
  103. return 0
  104. }
  105. type CallLogPushNoticeMessage struct {
  106. state protoimpl.MessageState
  107. sizeCache protoimpl.SizeCache
  108. unknownFields protoimpl.UnknownFields
  109. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家所属微信号
  110. IMEI string `protobuf:"bytes,2,opt,name=IMEI,proto3" json:"IMEI,omitempty"` // 手机设备号
  111. Messages *CallLogMessage `protobuf:"bytes,3,opt,name=Messages,proto3" json:"Messages,omitempty"` //
  112. }
  113. func (x *CallLogPushNoticeMessage) Reset() {
  114. *x = CallLogPushNoticeMessage{}
  115. mi := &file_CallLogPushNotice_proto_msgTypes[1]
  116. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  117. ms.StoreMessageInfo(mi)
  118. }
  119. func (x *CallLogPushNoticeMessage) String() string {
  120. return protoimpl.X.MessageStringOf(x)
  121. }
  122. func (*CallLogPushNoticeMessage) ProtoMessage() {}
  123. func (x *CallLogPushNoticeMessage) ProtoReflect() protoreflect.Message {
  124. mi := &file_CallLogPushNotice_proto_msgTypes[1]
  125. if x != nil {
  126. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  127. if ms.LoadMessageInfo() == nil {
  128. ms.StoreMessageInfo(mi)
  129. }
  130. return ms
  131. }
  132. return mi.MessageOf(x)
  133. }
  134. // Deprecated: Use CallLogPushNoticeMessage.ProtoReflect.Descriptor instead.
  135. func (*CallLogPushNoticeMessage) Descriptor() ([]byte, []int) {
  136. return file_CallLogPushNotice_proto_rawDescGZIP(), []int{1}
  137. }
  138. func (x *CallLogPushNoticeMessage) GetWeChatId() string {
  139. if x != nil {
  140. return x.WeChatId
  141. }
  142. return ""
  143. }
  144. func (x *CallLogPushNoticeMessage) GetIMEI() string {
  145. if x != nil {
  146. return x.IMEI
  147. }
  148. return ""
  149. }
  150. func (x *CallLogPushNoticeMessage) GetMessages() *CallLogMessage {
  151. if x != nil {
  152. return x.Messages
  153. }
  154. return nil
  155. }
  156. var File_CallLogPushNotice_proto protoreflect.FileDescriptor
  157. var file_CallLogPushNotice_proto_rawDesc = []byte{
  158. 0x0a, 0x17, 0x43, 0x61, 0x6c, 0x6c, 0x4c, 0x6f, 0x67, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74,
  159. 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f, 0x2e,
  160. 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f,
  161. 0x74, 0x6f, 0x22, 0xc8, 0x01, 0x0a, 0x0e, 0x43, 0x61, 0x6c, 0x6c, 0x4c, 0x6f, 0x67, 0x4d, 0x65,
  162. 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  163. 0x05, 0x52, 0x02, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
  164. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a,
  165. 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x54, 0x79, 0x70,
  166. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
  167. 0x04, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
  168. 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
  169. 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28,
  170. 0x09, 0x52, 0x06, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x69, 0x6d,
  171. 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x53, 0x69, 0x6d, 0x49, 0x64, 0x12,
  172. 0x1c, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01,
  173. 0x28, 0x05, 0x52, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0x8f, 0x01,
  174. 0x0a, 0x18, 0x43, 0x61, 0x6c, 0x6c, 0x4c, 0x6f, 0x67, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74,
  175. 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65,
  176. 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65,
  177. 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x49, 0x4d, 0x45, 0x49, 0x18, 0x02,
  178. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x49, 0x4d, 0x45, 0x49, 0x12, 0x43, 0x0a, 0x08, 0x4d, 0x65,
  179. 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x4a,
  180. 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78,
  181. 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x4c, 0x6f, 0x67, 0x4d, 0x65,
  182. 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x42,
  183. 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06,
  184. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  185. }
  186. var (
  187. file_CallLogPushNotice_proto_rawDescOnce sync.Once
  188. file_CallLogPushNotice_proto_rawDescData = file_CallLogPushNotice_proto_rawDesc
  189. )
  190. func file_CallLogPushNotice_proto_rawDescGZIP() []byte {
  191. file_CallLogPushNotice_proto_rawDescOnce.Do(func() {
  192. file_CallLogPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_CallLogPushNotice_proto_rawDescData)
  193. })
  194. return file_CallLogPushNotice_proto_rawDescData
  195. }
  196. var file_CallLogPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  197. var file_CallLogPushNotice_proto_goTypes = []any{
  198. (*CallLogMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.CallLogMessage
  199. (*CallLogPushNoticeMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.CallLogPushNoticeMessage
  200. }
  201. var file_CallLogPushNotice_proto_depIdxs = []int32{
  202. 0, // 0: Jubo.JuLiao.IM.Wx.Proto.CallLogPushNoticeMessage.Messages:type_name -> Jubo.JuLiao.IM.Wx.Proto.CallLogMessage
  203. 1, // [1:1] is the sub-list for method output_type
  204. 1, // [1:1] is the sub-list for method input_type
  205. 1, // [1:1] is the sub-list for extension type_name
  206. 1, // [1:1] is the sub-list for extension extendee
  207. 0, // [0:1] is the sub-list for field type_name
  208. }
  209. func init() { file_CallLogPushNotice_proto_init() }
  210. func file_CallLogPushNotice_proto_init() {
  211. if File_CallLogPushNotice_proto != nil {
  212. return
  213. }
  214. type x struct{}
  215. out := protoimpl.TypeBuilder{
  216. File: protoimpl.DescBuilder{
  217. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  218. RawDescriptor: file_CallLogPushNotice_proto_rawDesc,
  219. NumEnums: 0,
  220. NumMessages: 2,
  221. NumExtensions: 0,
  222. NumServices: 0,
  223. },
  224. GoTypes: file_CallLogPushNotice_proto_goTypes,
  225. DependencyIndexes: file_CallLogPushNotice_proto_depIdxs,
  226. MessageInfos: file_CallLogPushNotice_proto_msgTypes,
  227. }.Build()
  228. File_CallLogPushNotice_proto = out.File
  229. file_CallLogPushNotice_proto_rawDesc = nil
  230. file_CallLogPushNotice_proto_goTypes = nil
  231. file_CallLogPushNotice_proto_depIdxs = nil
  232. }