Uses of Class
com.google.protobuf.Descriptors.MethodDescriptor
Packages that use Descriptors.MethodDescriptor
-
Uses of Descriptors.MethodDescriptor in com.google.protobuf
Fields in com.google.protobuf declared as Descriptors.MethodDescriptorModifier and TypeFieldDescriptionprivate Descriptors.MethodDescriptor[]Descriptors.ServiceDescriptor.methodsMethods in com.google.protobuf that return Descriptors.MethodDescriptorModifier and TypeMethodDescriptionDescriptors.ServiceDescriptor.findMethodByName(String name) Find a method by name.Methods in com.google.protobuf that return types with arguments of type Descriptors.MethodDescriptorModifier and TypeMethodDescriptionDescriptors.ServiceDescriptor.getMethods()Get a list of methods for this service.Methods in com.google.protobuf with parameters of type Descriptors.MethodDescriptorModifier and TypeMethodDescriptionBlockingRpcChannel.callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype) Call the given method of the remote service and blocks until it returns.BlockingService.callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request) Equivalent toService.callMethod(com.google.protobuf.Descriptors.MethodDescriptor, com.google.protobuf.RpcController, com.google.protobuf.Message, com.google.protobuf.RpcCallback<com.google.protobuf.Message>), except thatcallBlockingMethod()returns the result of the RPC or throws aServiceExceptionif there is a failure, rather than passing the information to a callback.voidRpcChannel.callMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype, RpcCallback<Message> done) Call the given method of the remote service.voidService.callMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, RpcCallback<Message> done) Call a method of the service specified by MethodDescriptor.BlockingService.getRequestPrototype(Descriptors.MethodDescriptor method) Service.getRequestPrototype(Descriptors.MethodDescriptor method) callMethod()requires that the request passed in is of a particular subclass ofMessage.BlockingService.getResponsePrototype(Descriptors.MethodDescriptor method) Service.getResponsePrototype(Descriptors.MethodDescriptor method) LikegetRequestPrototype(), but gets a prototype of the response message.