SHARE
TWEET

Untitled

a guest Oct 12th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Record of email traffics between 2 employees
  2. message E2EConnection {
  3.   optional string employee1 = 1;
  4.   optional string employee2 = 2;
  5.   optional int EmailTraffic = 3;
  6. }
  7.  
  8. // Network data that contains all connection information
  9. // between any pair of employees
  10. message NetworkData {
  11.   repeated E2EConnection EmployeeConnections = 1;
  12. }
  13.  
  14. // Request data on the whole network
  15. message NetworkDataRequest {
  16.   optional string query = 1;
  17. }
  18.  
  19. service NetworkService {
  20.   rpc GetNetworkData(NetworkDataRequest) returns (NetworkData) {
  21.     option deadline = 3;
  22.     option fail_test = true;
  23.     option protocol = TCP;
  24.   };
  25. }
RAW Paste Data
Top