Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
Modifier and Type | Method and Description |
---|---|
MethodDescriptor.MethodType |
MethodDescriptor.getType()
The call type of the method.
|
static MethodDescriptor.MethodType |
MethodDescriptor.MethodType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodDescriptor.MethodType[] |
MethodDescriptor.MethodType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <RequestT,ResponseT> |
MethodDescriptor.create(MethodDescriptor.MethodType type,
String fullMethodName,
MethodDescriptor.Marshaller<RequestT> requestMarshaller,
MethodDescriptor.Marshaller<ResponseT> responseMarshaller)
Deprecated.
|
MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.Builder.setType(MethodDescriptor.MethodType type)
Sets the method type.
|