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 class
TimeServiceGrpc.TimeServiceBlockingStub
Optional service, exposed for testing static time scenarios.static class
TimeServiceGrpc.TimeServiceFutureStub
Optional service, exposed for testing static time scenarios.static class
TimeServiceGrpc.TimeServiceImplBase
Optional service, exposed for testing static time scenarios.static class
TimeServiceGrpc.TimeServiceStub
Optional service, exposed for testing static time scenarios.
-
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.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
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-