public final void callMethod(
     com.google.protobuf.Descriptors.MethodDescriptor method,
     com.google.protobuf.RpcController controller,
     com.google.protobuf.Message request,
     com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) {
   if (method.getService() != getDescriptor()) {
     throw new java.lang.IllegalArgumentException(
         "Service.callMethod() given method descriptor for wrong " + "service type.");
   }
   switch (method.getIndex()) {
     case 0:
       this.ping(
           controller,
           (org.apache.wasp.ipc.protobuf.generated.TestProtos.EmptyRequestProto) request,
           com.google.protobuf.RpcUtil
               .<org.apache.wasp.ipc.protobuf.generated.TestProtos.EmptyResponseProto>
                   specializeCallback(done));
       return;
     case 1:
       this.echo(
           controller,
           (org.apache.wasp.ipc.protobuf.generated.TestProtos.EchoRequestProto) request,
           com.google.protobuf.RpcUtil
               .<org.apache.wasp.ipc.protobuf.generated.TestProtos.EchoResponseProto>
                   specializeCallback(done));
       return;
     case 2:
       this.error(
           controller,
           (org.apache.wasp.ipc.protobuf.generated.TestProtos.EmptyRequestProto) request,
           com.google.protobuf.RpcUtil
               .<org.apache.wasp.ipc.protobuf.generated.TestProtos.EmptyResponseProto>
                   specializeCallback(done));
       return;
     default:
       throw new java.lang.AssertionError("Can't get here.");
   }
 }
 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()));
 }
 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()));
 }
 public final void callMethod(
     com.google.protobuf.Descriptors.MethodDescriptor method,
     com.google.protobuf.RpcController controller,
     com.google.protobuf.Message request,
     com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) {
   if (method.getService() != getDescriptor()) {
     throw new java.lang.IllegalArgumentException(
         "Service.callMethod() given method descriptor for wrong " + "service type.");
   }
   switch (method.getIndex()) {
     case 0:
       this.run(
           controller,
           (socialite.proto.QueryProtos.QueryStr) request,
           com.google.protobuf.RpcUtil.<socialite.proto.QueryProtos.Nothing>specializeCallback(
               done));
       return;
     default:
       throw new java.lang.AssertionError("Can't get here.");
   }
 }
 public final void callMethod(
     com.google.protobuf.Descriptors.MethodDescriptor method,
     com.google.protobuf.RpcController controller,
     com.google.protobuf.Message request,
     com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) {
   if (method.getService() != getDescriptor()) {
     throw new java.lang.IllegalArgumentException(
         "Service.callMethod() given method descriptor for wrong " + "service type.");
   }
   switch (method.getIndex()) {
     case 0:
       this.translate(
           controller,
           (jp.go.nict.langrid.client.protobuf.proto.TranslationProtos.TranslateRequest) request,
           com.google.protobuf.RpcUtil
               .<jp.go.nict.langrid.client.protobuf.proto.TranslationProtos.TranslateResponse>
                   specializeCallback(done));
       return;
     default:
       throw new java.lang.AssertionError("Can't get here.");
   }
 }