Class ServiceGrpc
- java.lang.Object
-
- dev.restate.sdk.dynrpc.template.generated.ServiceGrpc
-
public final class ServiceGrpc extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceGrpc.AsyncServicestatic classServiceGrpc.ServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service Service.static classServiceGrpc.ServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service Service.static classServiceGrpc.ServiceImplBaseBase class for the server implementation of the service Service.static classServiceGrpc.ServiceStubA stub to allow clients to do asynchronous rpc calls to service Service.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(ServiceGrpc.AsyncService service)static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<RpcRequest,RpcResponse>getTemplateMethod()static ServiceGrpc.ServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic ServiceGrpc.ServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ServiceGrpc.ServiceStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTemplateMethod
public static io.grpc.MethodDescriptor<RpcRequest,RpcResponse> getTemplateMethod()
-
newStub
public static ServiceGrpc.ServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static ServiceGrpc.ServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static ServiceGrpc.ServiceFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(ServiceGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-