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 classTimeServiceGrpc.TimeServiceBlockingStubOptional service, exposed for testing static time scenarios.static classTimeServiceGrpc.TimeServiceFutureStubOptional service, exposed for testing static time scenarios.static classTimeServiceGrpc.TimeServiceImplBaseOptional service, exposed for testing static time scenarios.static classTimeServiceGrpc.TimeServiceStubOptional service, exposed for testing static time scenarios.
-
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.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
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-