18 lines
379 B
Protocol Buffer
18 lines
379 B
Protocol Buffer
syntax = "proto3";
|
|
import "uuid.proto";
|
|
import "google/protobuf/empty.proto";
|
|
import "property.proto";
|
|
|
|
option java_package = "dev.usbharu.owl";
|
|
|
|
message TaskResult {
|
|
UUID id = 1;
|
|
bool success = 2;
|
|
int32 attempt = 3;
|
|
map<string, string> result = 4;
|
|
string message = 5;
|
|
}
|
|
|
|
service TaskResultService{
|
|
rpc tasKResult(stream TaskResult) returns (google.protobuf.Empty);
|
|
} |