task.proto 833 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. syntax = "proto3";
  2. // package声明符,用来防止不同的消息类型有命名冲突
  3. package v1;
  4. // 用于生成指定语言go的包名称
  5. option go_package = "adm-ads/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. }