task.pb.go 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: task.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. // The request message containing the user's name.
  20. type GetTaskBySourceCodeRequest struct {
  21. SourceCode string `protobuf:"bytes,1,opt,name=source_code,json=sourceCode,proto3" json:"source_code"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *GetTaskBySourceCodeRequest) Reset() { *m = GetTaskBySourceCodeRequest{} }
  27. func (m *GetTaskBySourceCodeRequest) String() string { return proto.CompactTextString(m) }
  28. func (*GetTaskBySourceCodeRequest) ProtoMessage() {}
  29. func (*GetTaskBySourceCodeRequest) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_ce5d8dd45b4a91ff, []int{0}
  31. }
  32. func (m *GetTaskBySourceCodeRequest) XXX_Unmarshal(b []byte) error {
  33. return xxx_messageInfo_GetTaskBySourceCodeRequest.Unmarshal(m, b)
  34. }
  35. func (m *GetTaskBySourceCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. return xxx_messageInfo_GetTaskBySourceCodeRequest.Marshal(b, m, deterministic)
  37. }
  38. func (m *GetTaskBySourceCodeRequest) XXX_Merge(src proto.Message) {
  39. xxx_messageInfo_GetTaskBySourceCodeRequest.Merge(m, src)
  40. }
  41. func (m *GetTaskBySourceCodeRequest) XXX_Size() int {
  42. return xxx_messageInfo_GetTaskBySourceCodeRequest.Size(m)
  43. }
  44. func (m *GetTaskBySourceCodeRequest) XXX_DiscardUnknown() {
  45. xxx_messageInfo_GetTaskBySourceCodeRequest.DiscardUnknown(m)
  46. }
  47. var xxx_messageInfo_GetTaskBySourceCodeRequest proto.InternalMessageInfo
  48. func (m *GetTaskBySourceCodeRequest) GetSourceCode() string {
  49. if m != nil {
  50. return m.SourceCode
  51. }
  52. return ""
  53. }
  54. // The response message containing the greetings
  55. type GetTaskBySourceCodeReply struct {
  56. TaskList []int32 `protobuf:"varint,1,rep,packed,name=task_list,json=taskList,proto3" json:"task_list"`
  57. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  58. XXX_unrecognized []byte `json:"-"`
  59. XXX_sizecache int32 `json:"-"`
  60. }
  61. func (m *GetTaskBySourceCodeReply) Reset() { *m = GetTaskBySourceCodeReply{} }
  62. func (m *GetTaskBySourceCodeReply) String() string { return proto.CompactTextString(m) }
  63. func (*GetTaskBySourceCodeReply) ProtoMessage() {}
  64. func (*GetTaskBySourceCodeReply) Descriptor() ([]byte, []int) {
  65. return fileDescriptor_ce5d8dd45b4a91ff, []int{1}
  66. }
  67. func (m *GetTaskBySourceCodeReply) XXX_Unmarshal(b []byte) error {
  68. return xxx_messageInfo_GetTaskBySourceCodeReply.Unmarshal(m, b)
  69. }
  70. func (m *GetTaskBySourceCodeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  71. return xxx_messageInfo_GetTaskBySourceCodeReply.Marshal(b, m, deterministic)
  72. }
  73. func (m *GetTaskBySourceCodeReply) XXX_Merge(src proto.Message) {
  74. xxx_messageInfo_GetTaskBySourceCodeReply.Merge(m, src)
  75. }
  76. func (m *GetTaskBySourceCodeReply) XXX_Size() int {
  77. return xxx_messageInfo_GetTaskBySourceCodeReply.Size(m)
  78. }
  79. func (m *GetTaskBySourceCodeReply) XXX_DiscardUnknown() {
  80. xxx_messageInfo_GetTaskBySourceCodeReply.DiscardUnknown(m)
  81. }
  82. var xxx_messageInfo_GetTaskBySourceCodeReply proto.InternalMessageInfo
  83. func (m *GetTaskBySourceCodeReply) GetTaskList() []int32 {
  84. if m != nil {
  85. return m.TaskList
  86. }
  87. return nil
  88. }
  89. type UpdateOfflineTaskRequest struct {
  90. TaskId int32 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id"`
  91. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
  92. IsFinish int32 `protobuf:"varint,3,opt,name=is_finish,json=isFinish,proto3" json:"is_finish"`
  93. FinishCount int32 `protobuf:"varint,4,opt,name=finish_count,json=finishCount,proto3" json:"finish_count"`
  94. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  95. XXX_unrecognized []byte `json:"-"`
  96. XXX_sizecache int32 `json:"-"`
  97. }
  98. func (m *UpdateOfflineTaskRequest) Reset() { *m = UpdateOfflineTaskRequest{} }
  99. func (m *UpdateOfflineTaskRequest) String() string { return proto.CompactTextString(m) }
  100. func (*UpdateOfflineTaskRequest) ProtoMessage() {}
  101. func (*UpdateOfflineTaskRequest) Descriptor() ([]byte, []int) {
  102. return fileDescriptor_ce5d8dd45b4a91ff, []int{2}
  103. }
  104. func (m *UpdateOfflineTaskRequest) XXX_Unmarshal(b []byte) error {
  105. return xxx_messageInfo_UpdateOfflineTaskRequest.Unmarshal(m, b)
  106. }
  107. func (m *UpdateOfflineTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  108. return xxx_messageInfo_UpdateOfflineTaskRequest.Marshal(b, m, deterministic)
  109. }
  110. func (m *UpdateOfflineTaskRequest) XXX_Merge(src proto.Message) {
  111. xxx_messageInfo_UpdateOfflineTaskRequest.Merge(m, src)
  112. }
  113. func (m *UpdateOfflineTaskRequest) XXX_Size() int {
  114. return xxx_messageInfo_UpdateOfflineTaskRequest.Size(m)
  115. }
  116. func (m *UpdateOfflineTaskRequest) XXX_DiscardUnknown() {
  117. xxx_messageInfo_UpdateOfflineTaskRequest.DiscardUnknown(m)
  118. }
  119. var xxx_messageInfo_UpdateOfflineTaskRequest proto.InternalMessageInfo
  120. func (m *UpdateOfflineTaskRequest) GetTaskId() int32 {
  121. if m != nil {
  122. return m.TaskId
  123. }
  124. return 0
  125. }
  126. func (m *UpdateOfflineTaskRequest) GetTotal() int32 {
  127. if m != nil {
  128. return m.Total
  129. }
  130. return 0
  131. }
  132. func (m *UpdateOfflineTaskRequest) GetIsFinish() int32 {
  133. if m != nil {
  134. return m.IsFinish
  135. }
  136. return 0
  137. }
  138. func (m *UpdateOfflineTaskRequest) GetFinishCount() int32 {
  139. if m != nil {
  140. return m.FinishCount
  141. }
  142. return 0
  143. }
  144. type UpdateOfflineTaskReply struct {
  145. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  146. XXX_unrecognized []byte `json:"-"`
  147. XXX_sizecache int32 `json:"-"`
  148. }
  149. func (m *UpdateOfflineTaskReply) Reset() { *m = UpdateOfflineTaskReply{} }
  150. func (m *UpdateOfflineTaskReply) String() string { return proto.CompactTextString(m) }
  151. func (*UpdateOfflineTaskReply) ProtoMessage() {}
  152. func (*UpdateOfflineTaskReply) Descriptor() ([]byte, []int) {
  153. return fileDescriptor_ce5d8dd45b4a91ff, []int{3}
  154. }
  155. func (m *UpdateOfflineTaskReply) XXX_Unmarshal(b []byte) error {
  156. return xxx_messageInfo_UpdateOfflineTaskReply.Unmarshal(m, b)
  157. }
  158. func (m *UpdateOfflineTaskReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  159. return xxx_messageInfo_UpdateOfflineTaskReply.Marshal(b, m, deterministic)
  160. }
  161. func (m *UpdateOfflineTaskReply) XXX_Merge(src proto.Message) {
  162. xxx_messageInfo_UpdateOfflineTaskReply.Merge(m, src)
  163. }
  164. func (m *UpdateOfflineTaskReply) XXX_Size() int {
  165. return xxx_messageInfo_UpdateOfflineTaskReply.Size(m)
  166. }
  167. func (m *UpdateOfflineTaskReply) XXX_DiscardUnknown() {
  168. xxx_messageInfo_UpdateOfflineTaskReply.DiscardUnknown(m)
  169. }
  170. var xxx_messageInfo_UpdateOfflineTaskReply proto.InternalMessageInfo
  171. type CheckFormatRequest struct {
  172. Vin string `protobuf:"bytes,1,opt,name=vin,proto3" json:"vin"`
  173. PlateNo string `protobuf:"bytes,2,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
  174. PlateType string `protobuf:"bytes,3,opt,name=plate_type,json=plateType,proto3" json:"plate_type"`
  175. Idcert string `protobuf:"bytes,4,opt,name=idcert,proto3" json:"idcert"`
  176. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  177. XXX_unrecognized []byte `json:"-"`
  178. XXX_sizecache int32 `json:"-"`
  179. }
  180. func (m *CheckFormatRequest) Reset() { *m = CheckFormatRequest{} }
  181. func (m *CheckFormatRequest) String() string { return proto.CompactTextString(m) }
  182. func (*CheckFormatRequest) ProtoMessage() {}
  183. func (*CheckFormatRequest) Descriptor() ([]byte, []int) {
  184. return fileDescriptor_ce5d8dd45b4a91ff, []int{4}
  185. }
  186. func (m *CheckFormatRequest) XXX_Unmarshal(b []byte) error {
  187. return xxx_messageInfo_CheckFormatRequest.Unmarshal(m, b)
  188. }
  189. func (m *CheckFormatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  190. return xxx_messageInfo_CheckFormatRequest.Marshal(b, m, deterministic)
  191. }
  192. func (m *CheckFormatRequest) XXX_Merge(src proto.Message) {
  193. xxx_messageInfo_CheckFormatRequest.Merge(m, src)
  194. }
  195. func (m *CheckFormatRequest) XXX_Size() int {
  196. return xxx_messageInfo_CheckFormatRequest.Size(m)
  197. }
  198. func (m *CheckFormatRequest) XXX_DiscardUnknown() {
  199. xxx_messageInfo_CheckFormatRequest.DiscardUnknown(m)
  200. }
  201. var xxx_messageInfo_CheckFormatRequest proto.InternalMessageInfo
  202. func (m *CheckFormatRequest) GetVin() string {
  203. if m != nil {
  204. return m.Vin
  205. }
  206. return ""
  207. }
  208. func (m *CheckFormatRequest) GetPlateNo() string {
  209. if m != nil {
  210. return m.PlateNo
  211. }
  212. return ""
  213. }
  214. func (m *CheckFormatRequest) GetPlateType() string {
  215. if m != nil {
  216. return m.PlateType
  217. }
  218. return ""
  219. }
  220. func (m *CheckFormatRequest) GetIdcert() string {
  221. if m != nil {
  222. return m.Idcert
  223. }
  224. return ""
  225. }
  226. type CheckFormatReply struct {
  227. Vin string `protobuf:"bytes,1,opt,name=vin,proto3" json:"vin"`
  228. PlateNo string `protobuf:"bytes,2,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
  229. PlateType string `protobuf:"bytes,3,opt,name=plate_type,json=plateType,proto3" json:"plate_type"`
  230. Idcert string `protobuf:"bytes,4,opt,name=idcert,proto3" json:"idcert"`
  231. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  232. XXX_unrecognized []byte `json:"-"`
  233. XXX_sizecache int32 `json:"-"`
  234. }
  235. func (m *CheckFormatReply) Reset() { *m = CheckFormatReply{} }
  236. func (m *CheckFormatReply) String() string { return proto.CompactTextString(m) }
  237. func (*CheckFormatReply) ProtoMessage() {}
  238. func (*CheckFormatReply) Descriptor() ([]byte, []int) {
  239. return fileDescriptor_ce5d8dd45b4a91ff, []int{5}
  240. }
  241. func (m *CheckFormatReply) XXX_Unmarshal(b []byte) error {
  242. return xxx_messageInfo_CheckFormatReply.Unmarshal(m, b)
  243. }
  244. func (m *CheckFormatReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  245. return xxx_messageInfo_CheckFormatReply.Marshal(b, m, deterministic)
  246. }
  247. func (m *CheckFormatReply) XXX_Merge(src proto.Message) {
  248. xxx_messageInfo_CheckFormatReply.Merge(m, src)
  249. }
  250. func (m *CheckFormatReply) XXX_Size() int {
  251. return xxx_messageInfo_CheckFormatReply.Size(m)
  252. }
  253. func (m *CheckFormatReply) XXX_DiscardUnknown() {
  254. xxx_messageInfo_CheckFormatReply.DiscardUnknown(m)
  255. }
  256. var xxx_messageInfo_CheckFormatReply proto.InternalMessageInfo
  257. func (m *CheckFormatReply) GetVin() string {
  258. if m != nil {
  259. return m.Vin
  260. }
  261. return ""
  262. }
  263. func (m *CheckFormatReply) GetPlateNo() string {
  264. if m != nil {
  265. return m.PlateNo
  266. }
  267. return ""
  268. }
  269. func (m *CheckFormatReply) GetPlateType() string {
  270. if m != nil {
  271. return m.PlateType
  272. }
  273. return ""
  274. }
  275. func (m *CheckFormatReply) GetIdcert() string {
  276. if m != nil {
  277. return m.Idcert
  278. }
  279. return ""
  280. }
  281. func init() {
  282. proto.RegisterType((*GetTaskBySourceCodeRequest)(nil), "v1.GetTaskBySourceCodeRequest")
  283. proto.RegisterType((*GetTaskBySourceCodeReply)(nil), "v1.GetTaskBySourceCodeReply")
  284. proto.RegisterType((*UpdateOfflineTaskRequest)(nil), "v1.UpdateOfflineTaskRequest")
  285. proto.RegisterType((*UpdateOfflineTaskReply)(nil), "v1.UpdateOfflineTaskReply")
  286. proto.RegisterType((*CheckFormatRequest)(nil), "v1.CheckFormatRequest")
  287. proto.RegisterType((*CheckFormatReply)(nil), "v1.CheckFormatReply")
  288. }
  289. func init() {
  290. proto.RegisterFile("task.proto", fileDescriptor_ce5d8dd45b4a91ff)
  291. }
  292. var fileDescriptor_ce5d8dd45b4a91ff = []byte{
  293. // 330 bytes of a gzipped FileDescriptorProto
  294. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x92, 0xcf, 0x4a, 0x33, 0x31,
  295. 0x14, 0xc5, 0x99, 0xf6, 0xeb, 0x9f, 0xb9, 0xfd, 0xc4, 0x12, 0xa4, 0x46, 0x45, 0xac, 0xb3, 0xea,
  296. 0x46, 0x4b, 0x71, 0xe1, 0xca, 0x4d, 0x0b, 0x15, 0x41, 0x14, 0x62, 0xdd, 0xb8, 0x19, 0xd2, 0x49,
  297. 0x4a, 0x43, 0xa7, 0x93, 0x38, 0xb9, 0x1d, 0x9d, 0x47, 0xf0, 0xad, 0x25, 0x99, 0x56, 0x10, 0xba,
  298. 0x76, 0x97, 0x73, 0x4e, 0x6e, 0x7e, 0x87, 0x4b, 0x00, 0x90, 0xdb, 0xd5, 0xb5, 0xc9, 0x35, 0x6a,
  299. 0x52, 0x2b, 0x46, 0xd1, 0x1d, 0x9c, 0xde, 0x4b, 0x9c, 0x71, 0xbb, 0x1a, 0x97, 0x2f, 0x7a, 0x93,
  300. 0x27, 0x72, 0xa2, 0x85, 0x64, 0xf2, 0x7d, 0x23, 0x2d, 0x92, 0x0b, 0xe8, 0x58, 0x6f, 0xc6, 0x89,
  301. 0x16, 0x92, 0x06, 0xfd, 0x60, 0x10, 0x32, 0xb0, 0x3f, 0xf7, 0xa2, 0x5b, 0xa0, 0x7b, 0xc7, 0x4d,
  302. 0x5a, 0x92, 0x33, 0x08, 0x1d, 0x2c, 0x4e, 0x95, 0x45, 0x1a, 0xf4, 0xeb, 0x83, 0x06, 0x6b, 0x3b,
  303. 0xe3, 0x51, 0x59, 0x8c, 0xbe, 0x02, 0xa0, 0xaf, 0x46, 0x70, 0x94, 0xcf, 0x8b, 0x45, 0xaa, 0x32,
  304. 0xe9, 0xde, 0xd8, 0x61, 0x8f, 0xa1, 0xe5, 0x27, 0x95, 0xf0, 0xc8, 0x06, 0x6b, 0x3a, 0xf9, 0x20,
  305. 0xc8, 0x11, 0x34, 0x50, 0x23, 0x4f, 0x69, 0xcd, 0xdb, 0x95, 0x70, 0x20, 0x65, 0xe3, 0x85, 0xca,
  306. 0x94, 0x5d, 0xd2, 0xba, 0x4f, 0xda, 0xca, 0x4e, 0xbd, 0x26, 0x97, 0xf0, 0xbf, 0x4a, 0xe2, 0x44,
  307. 0x6f, 0x32, 0xa4, 0xff, 0x7c, 0xde, 0xa9, 0xbc, 0x89, 0xb3, 0x22, 0x0a, 0xbd, 0x3d, 0x55, 0x4c,
  308. 0x5a, 0x46, 0x9f, 0x40, 0x26, 0x4b, 0x99, 0xac, 0xa6, 0x3a, 0x5f, 0x73, 0xdc, 0xd5, 0xeb, 0x42,
  309. 0xbd, 0x50, 0xd9, 0x76, 0x1b, 0xee, 0x48, 0x4e, 0xa0, 0x6d, 0x52, 0x8e, 0x32, 0xce, 0xb4, 0xaf,
  310. 0x16, 0xb2, 0x96, 0xd7, 0x4f, 0x9a, 0x9c, 0x03, 0x54, 0x11, 0x96, 0x46, 0xfa, 0x76, 0x21, 0x0b,
  311. 0xbd, 0x33, 0x2b, 0x8d, 0x24, 0x3d, 0x68, 0x2a, 0x91, 0xc8, 0xbc, 0x2a, 0x16, 0xb2, 0xad, 0x8a,
  312. 0x0a, 0xe8, 0xfe, 0x22, 0xbb, 0x85, 0xfe, 0x01, 0x77, 0x7c, 0xf8, 0x76, 0xc0, 0xc5, 0xfa, 0x4a,
  313. 0x7c, 0xd8, 0xa1, 0x99, 0x0f, 0x8b, 0xd1, 0xbc, 0xe9, 0xff, 0xca, 0xcd, 0x77, 0x00, 0x00, 0x00,
  314. 0xff, 0xff, 0x72, 0x14, 0xef, 0x25, 0x39, 0x02, 0x00, 0x00,
  315. }