Public Member Functions | List of all members
com.google.protobuf.BlockingService Interface Reference

Public Member Functions

Message callBlockingMethod (Descriptors.MethodDescriptor method, RpcController controller, Message request) throws ServiceException
 
Message callBlockingMethod (Descriptors.MethodDescriptor method, RpcController controller, Message request) throws ServiceException
 
Descriptors.ServiceDescriptor getDescriptorForType ()
 
Descriptors.ServiceDescriptor getDescriptorForType ()
 
Message getRequestPrototype (Descriptors.MethodDescriptor method)
 
Message getRequestPrototype (Descriptors.MethodDescriptor method)
 
Message getResponsePrototype (Descriptors.MethodDescriptor method)
 
Message getResponsePrototype (Descriptors.MethodDescriptor method)
 

Detailed Description

Blocking equivalent to Service.

Author
kento.nosp@m.n@go.nosp@m.ogle..nosp@m.com Kenton Varda
cpovi.nosp@m.rk@g.nosp@m.oogle.nosp@m..com Chris Povirk

Definition at line 39 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/BlockingService.java.

Member Function Documentation

◆ callBlockingMethod() [1/2]

Message com.google.protobuf.BlockingService.callBlockingMethod ( Descriptors.MethodDescriptor  method,
RpcController  controller,
Message  request 
) throws ServiceException

Equivalent to Service#callMethod, except that

returns the result of the RPC or throws a ServiceException if there is a failure, rather than passing the information to a callback.

◆ callBlockingMethod() [2/2]

Message com.google.protobuf.BlockingService.callBlockingMethod ( Descriptors.MethodDescriptor  method,
RpcController  controller,
Message  request 
) throws ServiceException

Equivalent to Service#callMethod, except that

returns the result of the RPC or throws a ServiceException if there is a failure, rather than passing the information to a callback.

◆ getDescriptorForType() [1/2]

Descriptors.ServiceDescriptor com.google.protobuf.BlockingService.getDescriptorForType ( )

◆ getDescriptorForType() [2/2]

Descriptors.ServiceDescriptor com.google.protobuf.BlockingService.getDescriptorForType ( )

◆ getRequestPrototype() [1/2]

Message com.google.protobuf.BlockingService.getRequestPrototype ( Descriptors.MethodDescriptor  method)

◆ getRequestPrototype() [2/2]

Message com.google.protobuf.BlockingService.getRequestPrototype ( Descriptors.MethodDescriptor  method)

◆ getResponsePrototype() [1/2]

Message com.google.protobuf.BlockingService.getResponsePrototype ( Descriptors.MethodDescriptor  method)

◆ getResponsePrototype() [2/2]

Message com.google.protobuf.BlockingService.getResponsePrototype ( Descriptors.MethodDescriptor  method)

The documentation for this interface was generated from the following file:
com.google.protobuf.BlockingService.callBlockingMethod
Message callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request)


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:02