github.com/m3db/m3@v1.5.0/src/x/generated/proto/test/test.proto (about)

     1  syntax = "proto3";
     2  
     3  package m3.test;
     4  
     5  message Empty {
     6  }
     7  
     8  message PingRequest {
     9    string value = 1;
    10    int32 sleep_time_ms = 2;
    11    uint32 error_code_returned = 3;
    12  }
    13  
    14  message PingResponse {
    15    string Value = 1;
    16    int32 counter = 2;
    17  }
    18  
    19  service TestService {
    20    rpc PingEmpty(Empty) returns (PingResponse) {}
    21    rpc Ping(PingRequest) returns (PingResponse) {}
    22    rpc PingError(PingRequest) returns (Empty) {}
    23    rpc PingList(PingRequest) returns (stream PingResponse) {}
    24  }