cai.zhang ce95fd4f20 Add interface for generated_ids
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-09-04 11:25:20 +08:00

25 lines
528 B
Protocol Buffer

syntax = "proto3";
option go_package = "generate_entity_ids";
option java_multiple_files = true;
option java_package = "io.grpc.generateID";
option java_outer_classname = "GenerateID";
package generate_entity_ids;
// The greeting service definition.
service Greeter {
// Sends a greeting
rpc GetEntityID (Request) returns (Reply) {}
}
// The request message containing the user's name.
message Request {
int64 length = 1;
}
// The response message containing the greetings
message Reply {
repeated int64 ids = 1;
}