task.proto 964 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. syntax = "proto3";
  2. // package声明符,用来防止不同的消息类型有命名冲突
  3. package v1;
  4. // 用于生成指定语言go的包名称
  5. option go_package = "adm-ods/pb/v1";
  6. // The request message containing the user's name.
  7. message GetTaskBySourceCodeRequest {
  8. string source_code = 1;
  9. }
  10. // The response message containing the greetings
  11. message GetTaskBySourceCodeReply {
  12. repeated int32 task_list = 1;
  13. }
  14. message UpdateOfflineTaskRequest{
  15. int32 task_id = 1;
  16. int32 total = 2;
  17. int32 is_finish = 3;
  18. int32 finish_count = 4;
  19. }
  20. message UpdateOfflineTaskReply{
  21. }
  22. message CheckFormatRequest{
  23. string vin = 1;
  24. string plate_no=2;
  25. string plate_type=3;
  26. string idcert = 4;
  27. }
  28. message CheckFormatReply{
  29. string vin = 1;
  30. string plate_no=2;
  31. string plate_type=3;
  32. string idcert = 4;
  33. }
  34. message FieldCheckRequest{
  35. string content = 1;
  36. }
  37. message FieldCheckReply{
  38. }