Package com.daml.ledger.api.v2.testing
Class TimeServiceGrpc
java.lang.Object
com.daml.ledger.api.v2.testing.TimeServiceGrpc
@Generated(value="by gRPC proto compiler",
comments="Source: com/daml/ledger/api/v2/testing/time_service.proto")
public final class TimeServiceGrpc
extends Object
Optional service, exposed for testing static time scenarios.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Optional service, exposed for testing static time scenarios.static final class
A stub to allow clients to do synchronous rpc calls to service TimeService.static final class
A stub to allow clients to do ListenableFuture-style rpc calls to service TimeService.static class
Base class for the server implementation of the service TimeService.static final class
A stub to allow clients to do asynchronous rpc calls to service TimeService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinition
bindService
(TimeServiceGrpc.AsyncService service) static io.grpc.MethodDescriptor<TimeServiceOuterClass.GetTimeRequest,
TimeServiceOuterClass.GetTimeResponse> static io.grpc.ServiceDescriptor
static io.grpc.MethodDescriptor<TimeServiceOuterClass.SetTimeRequest,
com.google.protobuf.Empty> newBlockingStub
(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub
(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub
(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getGetTimeMethod
public static io.grpc.MethodDescriptor<TimeServiceOuterClass.GetTimeRequest,TimeServiceOuterClass.GetTimeResponse> getGetTimeMethod() -
getSetTimeMethod
public static io.grpc.MethodDescriptor<TimeServiceOuterClass.SetTimeRequest,com.google.protobuf.Empty> getSetTimeMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(TimeServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-