mesytec-mnode/proto/mrpc.proto

24 lines
535 B
Protocol Buffer
Raw Permalink Normal View History

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()
string service = 1;
2024-12-12 00:31:03 +01:00
// MethodDescriptor::full_name()
string method = 2;
2024-12-12 00:31:03 +01:00
// Must be of type Service::GetRequestPrototype(method)
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)
google.protobuf.Any response = 2;
}