@Override public GetTransactionIdResponseProto getTransactionId(RpcController unused, GetTransactionIdRequestProto request) throws ServiceException { long txid; try { txid = impl.getTransactionID(); } catch (IOException e) { throw new ServiceException(e); } return GetTransactionIdResponseProto.newBuilder().setTxId(txid).build(); }