1234567891011121314151617 |
- syntax = "proto3";
- import "v1/task.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "adm-ods/pb";
- // The greeting service definition.
- service AdmTask {
- // Sends a greeting
- rpc GetTaskBySourceCode (v1.GetTaskBySourceCodeRequest) returns (v1.GetTaskBySourceCodeReply) {}
- rpc UpdateOfflineTask (v1.UpdateOfflineTaskRequest) returns (v1.UpdateOfflineTaskReply) {}
- rpc CheckFormat (v1.CheckFormatRequest) returns (v1.CheckFormatReply) {}
- rpc FieldCheck (v1.FieldCheckRequest) returns (v1.FieldCheckReply){}
- }
|