Package com.daml.ledger.api.v1.testing
Class TimeServiceGrpc
- java.lang.Object
-
- com.daml.ledger.api.v1.testing.TimeServiceGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: com/daml/ledger/api/v1/testing/time_service.proto") public final class TimeServiceGrpc extends java.lang.Object
Optional service, exposed for testing static time scenarios.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TimeServiceGrpc.AsyncService
Optional service, exposed for testing static time scenarios.static class
TimeServiceGrpc.TimeServiceBlockingStub
A stub to allow clients to do synchronous rpc calls to service TimeService.static class
TimeServiceGrpc.TimeServiceFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service TimeService.static class
TimeServiceGrpc.TimeServiceImplBase
Base class for the server implementation of the service TimeService.static class
TimeServiceGrpc.TimeServiceStub
A stub to allow clients to do asynchronous rpc calls to service TimeService.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(TimeServiceGrpc.AsyncService service)
static io.grpc.MethodDescriptor<TimeServiceOuterClass.GetTimeRequest,TimeServiceOuterClass.GetTimeResponse>
getGetTimeMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static io.grpc.MethodDescriptor<TimeServiceOuterClass.SetTimeRequest,com.google.protobuf.Empty>
getSetTimeMethod()
static TimeServiceGrpc.TimeServiceBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic TimeServiceGrpc.TimeServiceFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic TimeServiceGrpc.TimeServiceStub
newStub(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
-
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
public static TimeServiceGrpc.TimeServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static TimeServiceGrpc.TimeServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static TimeServiceGrpc.TimeServiceFutureStub 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(TimeServiceGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-