syntax = "proto3";

option java_multiple_files = true;
option java_package = "com.aizuda.snailjob.common.core.grpc.auto";

message Metadata {
  string uri = 3;
  map<string, string> headers = 7;
}

message GrpcSnailJobRequest {
  int64 reqId = 1;
  Metadata metadata = 2;
  string body = 3;
}

message GrpcResult {
  int64 reqId = 1;
  int32 status = 2;
  string message = 3;
  string data = 4;
}
