use of io.grpc.testing.protobuf.SimpleResponse in project grpc-java by grpc.
the class XdsSdsClientServerTest method unaryRpc.
/**
* Say hello to server.
*/
private static String unaryRpc(String requestMessage, SimpleServiceGrpc.SimpleServiceBlockingStub blockingStub) {
SimpleRequest request = SimpleRequest.newBuilder().setRequestMessage(requestMessage).build();
SimpleResponse response = blockingStub.unaryRpc(request);
return response.getResponseMessage();
}
Aggregations