Newer
Older
option go_package = "code.fbi.h-da.de/cocsn/api/go/gosdn/core";
rpc Get(GetRequest) returns (GetResponse);
rpc Set(SetRequest) returns (SetResponse);
}
message GetRequest {
int64 timestamp = 1; // Timestamp in nanoseconds since Epoch.
}
message GetResponse {
int64 timestamp = 1; // Timestamp in nanoseconds since Epoch.
}
message SetRequest {
int64 timestamp = 1; // Timestamp in nanoseconds since Epoch.
repeated setPnd pnd = 2;
}
message setPnd {
string name = 1;
string description = 2;
string sbi = 3;
message SetResponse {
int64 timestamp = 1; // Timestamp in nanoseconds since Epoch.
enum status {
OK = 0;
ERROR = 1;
}