daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Jun 29th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. syntax = "proto3";
  2.  
  3. option java_multiple_files = true;
  4. option java_generic_services = true;
  5. package com.example.learn;
  6.  
  7. message LoginRequest {
  8.     string username = 1;
  9.     string password = 2;
  10. }
  11.  
  12. message LoginResponse {
  13.     int32 responseCode = 1;
  14.     string message = 2;
  15. }
  16.  
  17. service LoginService {
  18.     rpc logIn (LoginRequest) returns (LoginResponse);
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand