}
@Override
public GetDiagnosticsResponseProto getDiagnostics(RpcController controller,
GetDiagnosticsRequestProto proto) throws ServiceException {
GetDiagnosticsRequest request = new GetDiagnosticsRequestPBImpl(proto);
try {
GetDiagnosticsResponse response = real.getDiagnostics(request);
return ((GetDiagnosticsResponsePBImpl)response).getProto();
} catch (YarnRemoteException e) {
throw new ServiceException(e);