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.ObjectOptional service, exposed for testing static time scenarios.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTimeServiceGrpc.AsyncServiceOptional service, exposed for testing static time scenarios.static classTimeServiceGrpc.TimeServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service TimeService.static classTimeServiceGrpc.TimeServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service TimeService.static classTimeServiceGrpc.TimeServiceImplBaseBase class for the server implementation of the service TimeService.static classTimeServiceGrpc.TimeServiceStubA stub to allow clients to do asynchronous rpc calls to service TimeService.
-
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(TimeServiceGrpc.AsyncService service)static io.grpc.MethodDescriptor<TimeServiceOuterClass.GetTimeRequest,TimeServiceOuterClass.GetTimeResponse>getGetTimeMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<TimeServiceOuterClass.SetTimeRequest,com.google.protobuf.Empty>getSetTimeMethod()static TimeServiceGrpc.TimeServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic TimeServiceGrpc.TimeServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic TimeServiceGrpc.TimeServiceStubnewStub(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()
-
-