2024-12-08 21:01:54 +01:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
import "google/protobuf/any.proto";
|
|
|
|
import "google/rpc/status.proto";
|
|
|
|
|
|
|
|
package mesytec.mnode.proto.mrpc;
|
|
|
|
|
|
|
|
message MethodCall
|
|
|
|
{
|
2024-12-12 00:31:03 +01:00
|
|
|
// Service::GetDescriptor()->full_name()
|
2024-12-08 21:01:54 +01:00
|
|
|
string service = 1;
|
2024-12-12 00:31:03 +01:00
|
|
|
// MethodDescriptor::full_name()
|
2024-12-08 21:01:54 +01:00
|
|
|
string method = 2;
|
2024-12-12 00:31:03 +01:00
|
|
|
// Must be of type Service::GetRequestPrototype(method)
|
2024-12-08 21:01:54 +01:00
|
|
|
google.protobuf.Any request = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message MethodCallResponse
|
|
|
|
{
|
|
|
|
google.rpc.Status status = 1;
|
2024-12-12 00:31:03 +01:00
|
|
|
// Is of type Service::GetResponsePrototype(method)
|
2024-12-08 21:01:54 +01:00
|
|
|
google.protobuf.Any response = 2;
|
|
|
|
}
|