mesytec-mnode/proto/mrpc.proto
2024-12-12 00:31:03 +01:00

23 lines
535 B
Protocol Buffer

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