Guest User

Untitled

a guest
Jul 17th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. syntax = "proto3";
  2.  
  3. message CalculatorRequest {
  4. double first_number = 1;
  5. double second_number = 2;
  6. }
  7.  
  8. message CalculatorResponse {
  9. double total = 1;
  10. }
  11.  
  12. service CalculatorService {
  13.  
  14. // Unary Call
  15. rpc Add (CalculatorRequest) returns (CalculatorResponse) {};
  16. }
Add Comment
Please, Sign In to add comment