linx-simulator2/node_modules/protobufjs/tests/example5.proto

30 lines
521 B
Protocol Buffer
Raw Normal View History

2019-09-18 08:11:16 +00:00
package Datastore;
message LookupRequest {
repeated string key = 1;
}
message LookupResponse {
repeated string results = 1;
}
message RunQueryRequest {
required string query = 1;
}
message RunQueryResponse {
repeated string results = 1;
}
service LookupService {
// Look up some entities by key.
rpc Lookup(LookupRequest) returns (LookupResponse) {
}
}
service RunQueryService {
// Query for entities.
rpc RunQuery(RunQueryRequest) returns (RunQueryResponse) {
};
}