greet.proto
1 syntax = "proto3"; 2 3 option csharp_namespace = "GrpcService1"; 4 5 package cube; 6 7 // The greeting service definition. 8 service Cube { 9 // Sends a greeting 10 rpc Rotate (RotateRequest) returns (RotateReply); 11 } 12 13 // The request message containing the user's name. 14 message RotateRequest { 15 string address = 1; 16 uint64 tokenid = 2; 17 float y = 3; 18 } 19 20 // The response message containing the greetings. 21 message RotateReply { 22 float y = 1; 23 }