thirdparty.pb.go 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: thirdparty.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type GetVcodeRequest struct {
  20. PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number"`
  21. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  22. XXX_unrecognized []byte `json:"-"`
  23. XXX_sizecache int32 `json:"-"`
  24. }
  25. func (m *GetVcodeRequest) Reset() { *m = GetVcodeRequest{} }
  26. func (m *GetVcodeRequest) String() string { return proto.CompactTextString(m) }
  27. func (*GetVcodeRequest) ProtoMessage() {}
  28. func (*GetVcodeRequest) Descriptor() ([]byte, []int) {
  29. return fileDescriptor_e10f141fd1fcfe2b, []int{0}
  30. }
  31. func (m *GetVcodeRequest) XXX_Unmarshal(b []byte) error {
  32. return xxx_messageInfo_GetVcodeRequest.Unmarshal(m, b)
  33. }
  34. func (m *GetVcodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  35. return xxx_messageInfo_GetVcodeRequest.Marshal(b, m, deterministic)
  36. }
  37. func (m *GetVcodeRequest) XXX_Merge(src proto.Message) {
  38. xxx_messageInfo_GetVcodeRequest.Merge(m, src)
  39. }
  40. func (m *GetVcodeRequest) XXX_Size() int {
  41. return xxx_messageInfo_GetVcodeRequest.Size(m)
  42. }
  43. func (m *GetVcodeRequest) XXX_DiscardUnknown() {
  44. xxx_messageInfo_GetVcodeRequest.DiscardUnknown(m)
  45. }
  46. var xxx_messageInfo_GetVcodeRequest proto.InternalMessageInfo
  47. func (m *GetVcodeRequest) GetPhoneNumber() string {
  48. if m != nil {
  49. return m.PhoneNumber
  50. }
  51. return ""
  52. }
  53. type GetVcodeReply struct {
  54. Vcode uint32 `protobuf:"varint,1,opt,name=vcode,proto3" json:"vcode"`
  55. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  56. XXX_unrecognized []byte `json:"-"`
  57. XXX_sizecache int32 `json:"-"`
  58. }
  59. func (m *GetVcodeReply) Reset() { *m = GetVcodeReply{} }
  60. func (m *GetVcodeReply) String() string { return proto.CompactTextString(m) }
  61. func (*GetVcodeReply) ProtoMessage() {}
  62. func (*GetVcodeReply) Descriptor() ([]byte, []int) {
  63. return fileDescriptor_e10f141fd1fcfe2b, []int{1}
  64. }
  65. func (m *GetVcodeReply) XXX_Unmarshal(b []byte) error {
  66. return xxx_messageInfo_GetVcodeReply.Unmarshal(m, b)
  67. }
  68. func (m *GetVcodeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  69. return xxx_messageInfo_GetVcodeReply.Marshal(b, m, deterministic)
  70. }
  71. func (m *GetVcodeReply) XXX_Merge(src proto.Message) {
  72. xxx_messageInfo_GetVcodeReply.Merge(m, src)
  73. }
  74. func (m *GetVcodeReply) XXX_Size() int {
  75. return xxx_messageInfo_GetVcodeReply.Size(m)
  76. }
  77. func (m *GetVcodeReply) XXX_DiscardUnknown() {
  78. xxx_messageInfo_GetVcodeReply.DiscardUnknown(m)
  79. }
  80. var xxx_messageInfo_GetVcodeReply proto.InternalMessageInfo
  81. func (m *GetVcodeReply) GetVcode() uint32 {
  82. if m != nil {
  83. return m.Vcode
  84. }
  85. return 0
  86. }
  87. type CheckVcodeRequest struct {
  88. PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number"`
  89. Vcode uint32 `protobuf:"varint,2,opt,name=vcode,proto3" json:"vcode"`
  90. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  91. XXX_unrecognized []byte `json:"-"`
  92. XXX_sizecache int32 `json:"-"`
  93. }
  94. func (m *CheckVcodeRequest) Reset() { *m = CheckVcodeRequest{} }
  95. func (m *CheckVcodeRequest) String() string { return proto.CompactTextString(m) }
  96. func (*CheckVcodeRequest) ProtoMessage() {}
  97. func (*CheckVcodeRequest) Descriptor() ([]byte, []int) {
  98. return fileDescriptor_e10f141fd1fcfe2b, []int{2}
  99. }
  100. func (m *CheckVcodeRequest) XXX_Unmarshal(b []byte) error {
  101. return xxx_messageInfo_CheckVcodeRequest.Unmarshal(m, b)
  102. }
  103. func (m *CheckVcodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  104. return xxx_messageInfo_CheckVcodeRequest.Marshal(b, m, deterministic)
  105. }
  106. func (m *CheckVcodeRequest) XXX_Merge(src proto.Message) {
  107. xxx_messageInfo_CheckVcodeRequest.Merge(m, src)
  108. }
  109. func (m *CheckVcodeRequest) XXX_Size() int {
  110. return xxx_messageInfo_CheckVcodeRequest.Size(m)
  111. }
  112. func (m *CheckVcodeRequest) XXX_DiscardUnknown() {
  113. xxx_messageInfo_CheckVcodeRequest.DiscardUnknown(m)
  114. }
  115. var xxx_messageInfo_CheckVcodeRequest proto.InternalMessageInfo
  116. func (m *CheckVcodeRequest) GetPhoneNumber() string {
  117. if m != nil {
  118. return m.PhoneNumber
  119. }
  120. return ""
  121. }
  122. func (m *CheckVcodeRequest) GetVcode() uint32 {
  123. if m != nil {
  124. return m.Vcode
  125. }
  126. return 0
  127. }
  128. type CheckVcodeReply struct {
  129. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  130. XXX_unrecognized []byte `json:"-"`
  131. XXX_sizecache int32 `json:"-"`
  132. }
  133. func (m *CheckVcodeReply) Reset() { *m = CheckVcodeReply{} }
  134. func (m *CheckVcodeReply) String() string { return proto.CompactTextString(m) }
  135. func (*CheckVcodeReply) ProtoMessage() {}
  136. func (*CheckVcodeReply) Descriptor() ([]byte, []int) {
  137. return fileDescriptor_e10f141fd1fcfe2b, []int{3}
  138. }
  139. func (m *CheckVcodeReply) XXX_Unmarshal(b []byte) error {
  140. return xxx_messageInfo_CheckVcodeReply.Unmarshal(m, b)
  141. }
  142. func (m *CheckVcodeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  143. return xxx_messageInfo_CheckVcodeReply.Marshal(b, m, deterministic)
  144. }
  145. func (m *CheckVcodeReply) XXX_Merge(src proto.Message) {
  146. xxx_messageInfo_CheckVcodeReply.Merge(m, src)
  147. }
  148. func (m *CheckVcodeReply) XXX_Size() int {
  149. return xxx_messageInfo_CheckVcodeReply.Size(m)
  150. }
  151. func (m *CheckVcodeReply) XXX_DiscardUnknown() {
  152. xxx_messageInfo_CheckVcodeReply.DiscardUnknown(m)
  153. }
  154. var xxx_messageInfo_CheckVcodeReply proto.InternalMessageInfo
  155. type OpenImRegisterRequest struct {
  156. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id"`
  157. Platform int32 `protobuf:"varint,2,opt,name=platform,proto3" json:"platform"`
  158. NickName string `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nick_name"`
  159. FaceUrl string `protobuf:"bytes,4,opt,name=face_url,json=faceUrl,proto3" json:"face_url"`
  160. Gender int32 `protobuf:"varint,5,opt,name=gender,proto3" json:"gender"`
  161. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  162. XXX_unrecognized []byte `json:"-"`
  163. XXX_sizecache int32 `json:"-"`
  164. }
  165. func (m *OpenImRegisterRequest) Reset() { *m = OpenImRegisterRequest{} }
  166. func (m *OpenImRegisterRequest) String() string { return proto.CompactTextString(m) }
  167. func (*OpenImRegisterRequest) ProtoMessage() {}
  168. func (*OpenImRegisterRequest) Descriptor() ([]byte, []int) {
  169. return fileDescriptor_e10f141fd1fcfe2b, []int{4}
  170. }
  171. func (m *OpenImRegisterRequest) XXX_Unmarshal(b []byte) error {
  172. return xxx_messageInfo_OpenImRegisterRequest.Unmarshal(m, b)
  173. }
  174. func (m *OpenImRegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  175. return xxx_messageInfo_OpenImRegisterRequest.Marshal(b, m, deterministic)
  176. }
  177. func (m *OpenImRegisterRequest) XXX_Merge(src proto.Message) {
  178. xxx_messageInfo_OpenImRegisterRequest.Merge(m, src)
  179. }
  180. func (m *OpenImRegisterRequest) XXX_Size() int {
  181. return xxx_messageInfo_OpenImRegisterRequest.Size(m)
  182. }
  183. func (m *OpenImRegisterRequest) XXX_DiscardUnknown() {
  184. xxx_messageInfo_OpenImRegisterRequest.DiscardUnknown(m)
  185. }
  186. var xxx_messageInfo_OpenImRegisterRequest proto.InternalMessageInfo
  187. func (m *OpenImRegisterRequest) GetUserId() string {
  188. if m != nil {
  189. return m.UserId
  190. }
  191. return ""
  192. }
  193. func (m *OpenImRegisterRequest) GetPlatform() int32 {
  194. if m != nil {
  195. return m.Platform
  196. }
  197. return 0
  198. }
  199. func (m *OpenImRegisterRequest) GetNickName() string {
  200. if m != nil {
  201. return m.NickName
  202. }
  203. return ""
  204. }
  205. func (m *OpenImRegisterRequest) GetFaceUrl() string {
  206. if m != nil {
  207. return m.FaceUrl
  208. }
  209. return ""
  210. }
  211. func (m *OpenImRegisterRequest) GetGender() int32 {
  212. if m != nil {
  213. return m.Gender
  214. }
  215. return 0
  216. }
  217. type OpenImRegisterReply struct {
  218. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  219. XXX_unrecognized []byte `json:"-"`
  220. XXX_sizecache int32 `json:"-"`
  221. }
  222. func (m *OpenImRegisterReply) Reset() { *m = OpenImRegisterReply{} }
  223. func (m *OpenImRegisterReply) String() string { return proto.CompactTextString(m) }
  224. func (*OpenImRegisterReply) ProtoMessage() {}
  225. func (*OpenImRegisterReply) Descriptor() ([]byte, []int) {
  226. return fileDescriptor_e10f141fd1fcfe2b, []int{5}
  227. }
  228. func (m *OpenImRegisterReply) XXX_Unmarshal(b []byte) error {
  229. return xxx_messageInfo_OpenImRegisterReply.Unmarshal(m, b)
  230. }
  231. func (m *OpenImRegisterReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  232. return xxx_messageInfo_OpenImRegisterReply.Marshal(b, m, deterministic)
  233. }
  234. func (m *OpenImRegisterReply) XXX_Merge(src proto.Message) {
  235. xxx_messageInfo_OpenImRegisterReply.Merge(m, src)
  236. }
  237. func (m *OpenImRegisterReply) XXX_Size() int {
  238. return xxx_messageInfo_OpenImRegisterReply.Size(m)
  239. }
  240. func (m *OpenImRegisterReply) XXX_DiscardUnknown() {
  241. xxx_messageInfo_OpenImRegisterReply.DiscardUnknown(m)
  242. }
  243. var xxx_messageInfo_OpenImRegisterReply proto.InternalMessageInfo
  244. type RobotMsgRequest struct {
  245. Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content"`
  246. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  247. XXX_unrecognized []byte `json:"-"`
  248. XXX_sizecache int32 `json:"-"`
  249. }
  250. func (m *RobotMsgRequest) Reset() { *m = RobotMsgRequest{} }
  251. func (m *RobotMsgRequest) String() string { return proto.CompactTextString(m) }
  252. func (*RobotMsgRequest) ProtoMessage() {}
  253. func (*RobotMsgRequest) Descriptor() ([]byte, []int) {
  254. return fileDescriptor_e10f141fd1fcfe2b, []int{6}
  255. }
  256. func (m *RobotMsgRequest) XXX_Unmarshal(b []byte) error {
  257. return xxx_messageInfo_RobotMsgRequest.Unmarshal(m, b)
  258. }
  259. func (m *RobotMsgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  260. return xxx_messageInfo_RobotMsgRequest.Marshal(b, m, deterministic)
  261. }
  262. func (m *RobotMsgRequest) XXX_Merge(src proto.Message) {
  263. xxx_messageInfo_RobotMsgRequest.Merge(m, src)
  264. }
  265. func (m *RobotMsgRequest) XXX_Size() int {
  266. return xxx_messageInfo_RobotMsgRequest.Size(m)
  267. }
  268. func (m *RobotMsgRequest) XXX_DiscardUnknown() {
  269. xxx_messageInfo_RobotMsgRequest.DiscardUnknown(m)
  270. }
  271. var xxx_messageInfo_RobotMsgRequest proto.InternalMessageInfo
  272. func (m *RobotMsgRequest) GetContent() string {
  273. if m != nil {
  274. return m.Content
  275. }
  276. return ""
  277. }
  278. type RobotMsgReply struct {
  279. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  280. XXX_unrecognized []byte `json:"-"`
  281. XXX_sizecache int32 `json:"-"`
  282. }
  283. func (m *RobotMsgReply) Reset() { *m = RobotMsgReply{} }
  284. func (m *RobotMsgReply) String() string { return proto.CompactTextString(m) }
  285. func (*RobotMsgReply) ProtoMessage() {}
  286. func (*RobotMsgReply) Descriptor() ([]byte, []int) {
  287. return fileDescriptor_e10f141fd1fcfe2b, []int{7}
  288. }
  289. func (m *RobotMsgReply) XXX_Unmarshal(b []byte) error {
  290. return xxx_messageInfo_RobotMsgReply.Unmarshal(m, b)
  291. }
  292. func (m *RobotMsgReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  293. return xxx_messageInfo_RobotMsgReply.Marshal(b, m, deterministic)
  294. }
  295. func (m *RobotMsgReply) XXX_Merge(src proto.Message) {
  296. xxx_messageInfo_RobotMsgReply.Merge(m, src)
  297. }
  298. func (m *RobotMsgReply) XXX_Size() int {
  299. return xxx_messageInfo_RobotMsgReply.Size(m)
  300. }
  301. func (m *RobotMsgReply) XXX_DiscardUnknown() {
  302. xxx_messageInfo_RobotMsgReply.DiscardUnknown(m)
  303. }
  304. var xxx_messageInfo_RobotMsgReply proto.InternalMessageInfo
  305. func init() {
  306. proto.RegisterType((*GetVcodeRequest)(nil), "pb_v1.GetVcodeRequest")
  307. proto.RegisterType((*GetVcodeReply)(nil), "pb_v1.GetVcodeReply")
  308. proto.RegisterType((*CheckVcodeRequest)(nil), "pb_v1.CheckVcodeRequest")
  309. proto.RegisterType((*CheckVcodeReply)(nil), "pb_v1.CheckVcodeReply")
  310. proto.RegisterType((*OpenImRegisterRequest)(nil), "pb_v1.OpenImRegisterRequest")
  311. proto.RegisterType((*OpenImRegisterReply)(nil), "pb_v1.OpenImRegisterReply")
  312. proto.RegisterType((*RobotMsgRequest)(nil), "pb_v1.RobotMsgRequest")
  313. proto.RegisterType((*RobotMsgReply)(nil), "pb_v1.RobotMsgReply")
  314. }
  315. func init() {
  316. proto.RegisterFile("thirdparty.proto", fileDescriptor_e10f141fd1fcfe2b)
  317. }
  318. var fileDescriptor_e10f141fd1fcfe2b = []byte{
  319. // 316 bytes of a gzipped FileDescriptorProto
  320. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0xdd, 0x4a, 0xf3, 0x40,
  321. 0x10, 0x86, 0xe9, 0xf7, 0x99, 0xfe, 0x8c, 0x96, 0xd8, 0xd5, 0xda, 0xa8, 0x27, 0x1a, 0x10, 0x04,
  322. 0xd1, 0x52, 0xf4, 0x0a, 0xf4, 0x40, 0x0a, 0x5a, 0x21, 0xa0, 0x07, 0x9e, 0x84, 0xfc, 0x4c, 0xdb,
  323. 0xd0, 0x64, 0x77, 0x9d, 0x4c, 0x0a, 0x7b, 0x2f, 0x5e, 0xac, 0x64, 0x6d, 0x6d, 0xf1, 0xcc, 0xc3,
  324. 0xe7, 0xdd, 0x99, 0x67, 0x5e, 0x58, 0xd8, 0xe7, 0x79, 0x46, 0xa9, 0x8e, 0x88, 0xcd, 0x8d, 0x26,
  325. 0xc5, 0x4a, 0x38, 0x3a, 0x0e, 0x97, 0x23, 0xff, 0x0e, 0xdc, 0x47, 0xe4, 0xb7, 0x44, 0xa5, 0x18,
  326. 0xe0, 0x47, 0x85, 0x25, 0x8b, 0x73, 0xd8, 0xd3, 0x73, 0x25, 0x31, 0x94, 0x55, 0x11, 0x23, 0x79,
  327. 0x8d, 0xb3, 0xc6, 0x65, 0x27, 0xd8, 0xb5, 0xd9, 0xc4, 0x46, 0xfe, 0x05, 0x74, 0x37, 0x5b, 0x3a,
  328. 0x37, 0xe2, 0x10, 0x9c, 0x65, 0x4d, 0x76, 0xb8, 0x1b, 0x7c, 0x83, 0xff, 0x04, 0xbd, 0x87, 0x39,
  329. 0x26, 0x8b, 0x3f, 0xea, 0x37, 0xb6, 0x7f, 0xdb, 0xb6, 0x1e, 0xb8, 0xdb, 0x36, 0x9d, 0x1b, 0xff,
  330. 0xb3, 0x01, 0xfd, 0x17, 0x8d, 0x72, 0x5c, 0x04, 0x38, 0xcb, 0x4a, 0x46, 0x5a, 0x5f, 0x19, 0x40,
  331. 0xab, 0x2a, 0x91, 0xc2, 0x2c, 0x5d, 0x1d, 0x68, 0xd6, 0x38, 0x4e, 0xc5, 0x09, 0xb4, 0x75, 0x1e,
  332. 0xf1, 0x54, 0x51, 0x61, 0xf5, 0x4e, 0xf0, 0xc3, 0xe2, 0x14, 0x3a, 0x32, 0x4b, 0x16, 0xa1, 0x8c,
  333. 0x0a, 0xf4, 0xfe, 0xdb, 0xb5, 0x76, 0x1d, 0x4c, 0xa2, 0x02, 0xc5, 0x31, 0xb4, 0xa7, 0x51, 0x82,
  334. 0x61, 0x45, 0xb9, 0xb7, 0x63, 0xdf, 0x5a, 0x35, 0xbf, 0x52, 0x2e, 0x8e, 0xa0, 0x39, 0x43, 0x99,
  335. 0x22, 0x79, 0x8e, 0x35, 0xae, 0xc8, 0xef, 0xc3, 0xc1, 0xef, 0x76, 0x75, 0xeb, 0x2b, 0x70, 0x03,
  336. 0x15, 0x2b, 0x7e, 0x2e, 0x67, 0xeb, 0xba, 0x1e, 0xb4, 0x12, 0x25, 0x19, 0x25, 0xaf, 0xea, 0xae,
  337. 0xd1, 0x77, 0xa1, 0xbb, 0x19, 0xd6, 0xb9, 0xb9, 0x1f, 0xbc, 0xf7, 0x35, 0x29, 0x8d, 0xc4, 0xe6,
  338. 0xba, 0x34, 0x25, 0x63, 0x31, 0xd4, 0xf1, 0x70, 0x39, 0x8a, 0x9b, 0xf6, 0x63, 0x6f, 0xbf, 0x02,
  339. 0x00, 0x00, 0xff, 0xff, 0xb5, 0x1e, 0x76, 0x7c, 0xec, 0x01, 0x00, 0x00,
  340. }