mobile.pb.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.9
  5. // source: backend/operation/mobile.proto
  6. package operationPb
  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 SearchMobileRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称
  24. Pagination *PaginationModel `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  25. }
  26. func (x *SearchMobileRequest) Reset() {
  27. *x = SearchMobileRequest{}
  28. if protoimpl.UnsafeEnabled {
  29. mi := &file_backend_operation_mobile_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. }
  34. func (x *SearchMobileRequest) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*SearchMobileRequest) ProtoMessage() {}
  38. func (x *SearchMobileRequest) ProtoReflect() protoreflect.Message {
  39. mi := &file_backend_operation_mobile_proto_msgTypes[0]
  40. if protoimpl.UnsafeEnabled && 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 SearchMobileRequest.ProtoReflect.Descriptor instead.
  50. func (*SearchMobileRequest) Descriptor() ([]byte, []int) {
  51. return file_backend_operation_mobile_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *SearchMobileRequest) GetName() string {
  54. if x != nil {
  55. return x.Name
  56. }
  57. return ""
  58. }
  59. func (x *SearchMobileRequest) GetPagination() *PaginationModel {
  60. if x != nil {
  61. return x.Pagination
  62. }
  63. return nil
  64. }
  65. type SearchMobileResponse struct {
  66. state protoimpl.MessageState
  67. sizeCache protoimpl.SizeCache
  68. unknownFields protoimpl.UnknownFields
  69. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  70. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  71. Data *SearchMobileData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  72. }
  73. func (x *SearchMobileResponse) Reset() {
  74. *x = SearchMobileResponse{}
  75. if protoimpl.UnsafeEnabled {
  76. mi := &file_backend_operation_mobile_proto_msgTypes[1]
  77. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  78. ms.StoreMessageInfo(mi)
  79. }
  80. }
  81. func (x *SearchMobileResponse) String() string {
  82. return protoimpl.X.MessageStringOf(x)
  83. }
  84. func (*SearchMobileResponse) ProtoMessage() {}
  85. func (x *SearchMobileResponse) ProtoReflect() protoreflect.Message {
  86. mi := &file_backend_operation_mobile_proto_msgTypes[1]
  87. if protoimpl.UnsafeEnabled && x != nil {
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. if ms.LoadMessageInfo() == nil {
  90. ms.StoreMessageInfo(mi)
  91. }
  92. return ms
  93. }
  94. return mi.MessageOf(x)
  95. }
  96. // Deprecated: Use SearchMobileResponse.ProtoReflect.Descriptor instead.
  97. func (*SearchMobileResponse) Descriptor() ([]byte, []int) {
  98. return file_backend_operation_mobile_proto_rawDescGZIP(), []int{1}
  99. }
  100. func (x *SearchMobileResponse) GetCode() int32 {
  101. if x != nil {
  102. return x.Code
  103. }
  104. return 0
  105. }
  106. func (x *SearchMobileResponse) GetMsg() string {
  107. if x != nil {
  108. return x.Msg
  109. }
  110. return ""
  111. }
  112. func (x *SearchMobileResponse) GetData() *SearchMobileData {
  113. if x != nil {
  114. return x.Data
  115. }
  116. return nil
  117. }
  118. type SearchMobileData struct {
  119. state protoimpl.MessageState
  120. sizeCache protoimpl.SizeCache
  121. unknownFields protoimpl.UnknownFields
  122. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  123. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  124. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  125. List []*MobileData `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  126. }
  127. func (x *SearchMobileData) Reset() {
  128. *x = SearchMobileData{}
  129. if protoimpl.UnsafeEnabled {
  130. mi := &file_backend_operation_mobile_proto_msgTypes[2]
  131. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  132. ms.StoreMessageInfo(mi)
  133. }
  134. }
  135. func (x *SearchMobileData) String() string {
  136. return protoimpl.X.MessageStringOf(x)
  137. }
  138. func (*SearchMobileData) ProtoMessage() {}
  139. func (x *SearchMobileData) ProtoReflect() protoreflect.Message {
  140. mi := &file_backend_operation_mobile_proto_msgTypes[2]
  141. if protoimpl.UnsafeEnabled && x != nil {
  142. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  143. if ms.LoadMessageInfo() == nil {
  144. ms.StoreMessageInfo(mi)
  145. }
  146. return ms
  147. }
  148. return mi.MessageOf(x)
  149. }
  150. // Deprecated: Use SearchMobileData.ProtoReflect.Descriptor instead.
  151. func (*SearchMobileData) Descriptor() ([]byte, []int) {
  152. return file_backend_operation_mobile_proto_rawDescGZIP(), []int{2}
  153. }
  154. func (x *SearchMobileData) GetPage() int32 {
  155. if x != nil {
  156. return x.Page
  157. }
  158. return 0
  159. }
  160. func (x *SearchMobileData) GetTotal() int32 {
  161. if x != nil {
  162. return x.Total
  163. }
  164. return 0
  165. }
  166. func (x *SearchMobileData) GetPageSize() int32 {
  167. if x != nil {
  168. return x.PageSize
  169. }
  170. return 0
  171. }
  172. func (x *SearchMobileData) GetList() []*MobileData {
  173. if x != nil {
  174. return x.List
  175. }
  176. return nil
  177. }
  178. type MobileData struct {
  179. state protoimpl.MessageState
  180. sizeCache protoimpl.SizeCache
  181. unknownFields protoimpl.UnknownFields
  182. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  183. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  184. CreatedAt uint32 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
  185. CreatedAtFormat string `protobuf:"bytes,4,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"`
  186. }
  187. func (x *MobileData) Reset() {
  188. *x = MobileData{}
  189. if protoimpl.UnsafeEnabled {
  190. mi := &file_backend_operation_mobile_proto_msgTypes[3]
  191. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  192. ms.StoreMessageInfo(mi)
  193. }
  194. }
  195. func (x *MobileData) String() string {
  196. return protoimpl.X.MessageStringOf(x)
  197. }
  198. func (*MobileData) ProtoMessage() {}
  199. func (x *MobileData) ProtoReflect() protoreflect.Message {
  200. mi := &file_backend_operation_mobile_proto_msgTypes[3]
  201. if protoimpl.UnsafeEnabled && x != nil {
  202. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  203. if ms.LoadMessageInfo() == nil {
  204. ms.StoreMessageInfo(mi)
  205. }
  206. return ms
  207. }
  208. return mi.MessageOf(x)
  209. }
  210. // Deprecated: Use MobileData.ProtoReflect.Descriptor instead.
  211. func (*MobileData) Descriptor() ([]byte, []int) {
  212. return file_backend_operation_mobile_proto_rawDescGZIP(), []int{3}
  213. }
  214. func (x *MobileData) GetId() uint32 {
  215. if x != nil {
  216. return x.Id
  217. }
  218. return 0
  219. }
  220. func (x *MobileData) GetName() string {
  221. if x != nil {
  222. return x.Name
  223. }
  224. return ""
  225. }
  226. func (x *MobileData) GetCreatedAt() uint32 {
  227. if x != nil {
  228. return x.CreatedAt
  229. }
  230. return 0
  231. }
  232. func (x *MobileData) GetCreatedAtFormat() string {
  233. if x != nil {
  234. return x.CreatedAtFormat
  235. }
  236. return ""
  237. }
  238. var File_backend_operation_mobile_proto protoreflect.FileDescriptor
  239. var file_backend_operation_mobile_proto_rawDesc = []byte{
  240. 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  241. 0x69, 0x6f, 0x6e, 0x2f, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  242. 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  243. 0x69, 0x6f, 0x6e, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65,
  244. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
  245. 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6d, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63,
  246. 0x68, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
  247. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  248. 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  249. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  250. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e,
  251. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69,
  252. 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
  253. 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12,
  254. 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f,
  255. 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  256. 0x03, 0x6d, 0x73, 0x67, 0x12, 0x37, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
  257. 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  258. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x62,
  259. 0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8c, 0x01,
  260. 0x0a, 0x10, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x44, 0x61,
  261. 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
  262. 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18,
  263. 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09,
  264. 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
  265. 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x6c, 0x69, 0x73,
  266. 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e,
  267. 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x6f, 0x62, 0x69,
  268. 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x7b, 0x0a, 0x0a,
  269. 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  270. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  271. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d,
  272. 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01,
  273. 0x28, 0x0d, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a,
  274. 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d,
  275. 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
  276. 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f,
  277. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  278. 0x6f, 0x33,
  279. }
  280. var (
  281. file_backend_operation_mobile_proto_rawDescOnce sync.Once
  282. file_backend_operation_mobile_proto_rawDescData = file_backend_operation_mobile_proto_rawDesc
  283. )
  284. func file_backend_operation_mobile_proto_rawDescGZIP() []byte {
  285. file_backend_operation_mobile_proto_rawDescOnce.Do(func() {
  286. file_backend_operation_mobile_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_mobile_proto_rawDescData)
  287. })
  288. return file_backend_operation_mobile_proto_rawDescData
  289. }
  290. var file_backend_operation_mobile_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  291. var file_backend_operation_mobile_proto_goTypes = []interface{}{
  292. (*SearchMobileRequest)(nil), // 0: backend.operation.SearchMobileRequest
  293. (*SearchMobileResponse)(nil), // 1: backend.operation.SearchMobileResponse
  294. (*SearchMobileData)(nil), // 2: backend.operation.SearchMobileData
  295. (*MobileData)(nil), // 3: backend.operation.MobileData
  296. (*PaginationModel)(nil), // 4: backend.operation.PaginationModel
  297. }
  298. var file_backend_operation_mobile_proto_depIdxs = []int32{
  299. 4, // 0: backend.operation.SearchMobileRequest.pagination:type_name -> backend.operation.PaginationModel
  300. 2, // 1: backend.operation.SearchMobileResponse.data:type_name -> backend.operation.SearchMobileData
  301. 3, // 2: backend.operation.SearchMobileData.list:type_name -> backend.operation.MobileData
  302. 3, // [3:3] is the sub-list for method output_type
  303. 3, // [3:3] is the sub-list for method input_type
  304. 3, // [3:3] is the sub-list for extension type_name
  305. 3, // [3:3] is the sub-list for extension extendee
  306. 0, // [0:3] is the sub-list for field type_name
  307. }
  308. func init() { file_backend_operation_mobile_proto_init() }
  309. func file_backend_operation_mobile_proto_init() {
  310. if File_backend_operation_mobile_proto != nil {
  311. return
  312. }
  313. file_backend_operation_pagination_proto_init()
  314. if !protoimpl.UnsafeEnabled {
  315. file_backend_operation_mobile_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  316. switch v := v.(*SearchMobileRequest); i {
  317. case 0:
  318. return &v.state
  319. case 1:
  320. return &v.sizeCache
  321. case 2:
  322. return &v.unknownFields
  323. default:
  324. return nil
  325. }
  326. }
  327. file_backend_operation_mobile_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  328. switch v := v.(*SearchMobileResponse); i {
  329. case 0:
  330. return &v.state
  331. case 1:
  332. return &v.sizeCache
  333. case 2:
  334. return &v.unknownFields
  335. default:
  336. return nil
  337. }
  338. }
  339. file_backend_operation_mobile_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  340. switch v := v.(*SearchMobileData); i {
  341. case 0:
  342. return &v.state
  343. case 1:
  344. return &v.sizeCache
  345. case 2:
  346. return &v.unknownFields
  347. default:
  348. return nil
  349. }
  350. }
  351. file_backend_operation_mobile_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  352. switch v := v.(*MobileData); i {
  353. case 0:
  354. return &v.state
  355. case 1:
  356. return &v.sizeCache
  357. case 2:
  358. return &v.unknownFields
  359. default:
  360. return nil
  361. }
  362. }
  363. }
  364. type x struct{}
  365. out := protoimpl.TypeBuilder{
  366. File: protoimpl.DescBuilder{
  367. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  368. RawDescriptor: file_backend_operation_mobile_proto_rawDesc,
  369. NumEnums: 0,
  370. NumMessages: 4,
  371. NumExtensions: 0,
  372. NumServices: 0,
  373. },
  374. GoTypes: file_backend_operation_mobile_proto_goTypes,
  375. DependencyIndexes: file_backend_operation_mobile_proto_depIdxs,
  376. MessageInfos: file_backend_operation_mobile_proto_msgTypes,
  377. }.Build()
  378. File_backend_operation_mobile_proto = out.File
  379. file_backend_operation_mobile_proto_rawDesc = nil
  380. file_backend_operation_mobile_proto_goTypes = nil
  381. file_backend_operation_mobile_proto_depIdxs = nil
  382. }