Skip to content
Snippets Groups Projects
graphresponse.proto 432 B
Newer Older
  • Learn to ignore specific revisions
  • syntax="proto3";
    package pb;
    
    
    Pawan Rawal's avatar
    Pawan Rawal committed
      rpc Query (GraphRequest) returns (GraphResponse) {}
    
    message UidList {
    
      repeated uint64 uids = 1;
    
    }
    
    message Result {
      repeated bytes values = 1;
      repeated UidList uidmatrix = 2;
    }
    
    
    message GraphRequest {
      string query = 1;
    }
    
    
    message GraphResponse {
      string attribute = 1;
    
      Result result = 2;
      repeated GraphResponse children = 3; // Each node can have multiple children