public void run(
     com.google.protobuf.RpcController controller,
     socialite.proto.QueryProtos.QueryStr request,
     com.google.protobuf.RpcCallback<socialite.proto.QueryProtos.Nothing> done) {
   channel.callMethod(
       getDescriptor().getMethods().get(0),
       controller,
       request,
       socialite.proto.QueryProtos.Nothing.getDefaultInstance(),
       com.google.protobuf.RpcUtil.generalizeCallback(
           done,
           socialite.proto.QueryProtos.Nothing.class,
           socialite.proto.QueryProtos.Nothing.getDefaultInstance()));
 }
Beispiel #2
0
 public void translate(
     com.google.protobuf.RpcController controller,
     jp.go.nict.langrid.client.protobuf.proto.TranslationProtos.TranslateRequest request,
     com.google.protobuf.RpcCallback<
             jp.go.nict.langrid.client.protobuf.proto.TranslationProtos.TranslateResponse>
         done) {
   channel.callMethod(
       getDescriptor().getMethods().get(0),
       controller,
       request,
       jp.go.nict.langrid.client.protobuf.proto.TranslationProtos.TranslateResponse
           .getDefaultInstance(),
       com.google.protobuf.RpcUtil.generalizeCallback(
           done,
           jp.go.nict.langrid.client.protobuf.proto.TranslationProtos.TranslateResponse.class,
           jp.go.nict.langrid.client.protobuf.proto.TranslationProtos.TranslateResponse
               .getDefaultInstance()));
 }
 public void error(
     com.google.protobuf.RpcController controller,
     org.apache.wasp.ipc.protobuf.generated.TestProtos.EmptyRequestProto request,
     com.google.protobuf.RpcCallback<
             org.apache.wasp.ipc.protobuf.generated.TestProtos.EmptyResponseProto>
         done) {
   channel.callMethod(
       getDescriptor().getMethods().get(2),
       controller,
       request,
       org.apache.wasp.ipc.protobuf.generated.TestProtos.EmptyResponseProto
           .getDefaultInstance(),
       com.google.protobuf.RpcUtil.generalizeCallback(
           done,
           org.apache.wasp.ipc.protobuf.generated.TestProtos.EmptyResponseProto.class,
           org.apache.wasp.ipc.protobuf.generated.TestProtos.EmptyResponseProto
               .getDefaultInstance()));
 }