public Utf8 hello(Utf8 greeting) { return new Utf8("goodbye"); }
public int add(int arg1, int arg2) { return arg1 + arg2; }
public TestRecord echo(TestRecord record) { return record; }
public ByteBuffer echoBytes(ByteBuffer data) { return data; }
public Void error() throws AvroRemoteException {
TestError error = new TestError();
error.message = new Utf8("an error");
throw error;
}