Package io.etcd.jetcd.api.lock
Class LockGrpc
- java.lang.Object
-
- io.etcd.jetcd.api.lock.LockGrpc
-
@Generated(value="by gRPC proto compiler (version 1.45.0)", comments="Source: lock.proto") public final class LockGrpc extends java.lang.ObjectThe lock service exposes client-side locking facilities as a gRPC interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLockGrpc.LockBlockingStubThe lock service exposes client-side locking facilities as a gRPC interface.static classLockGrpc.LockFutureStubThe lock service exposes client-side locking facilities as a gRPC interface.static classLockGrpc.LockImplBaseThe lock service exposes client-side locking facilities as a gRPC interface.static classLockGrpc.LockStubThe lock service exposes client-side locking facilities as a gRPC interface.
-
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<LockRequest,LockResponse>getLockMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<UnlockRequest,UnlockResponse>getUnlockMethod()static LockGrpc.LockBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic LockGrpc.LockFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic LockGrpc.LockStubnewStub(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
-
getLockMethod
public static io.grpc.MethodDescriptor<LockRequest,LockResponse> getLockMethod()
-
getUnlockMethod
public static io.grpc.MethodDescriptor<UnlockRequest,UnlockResponse> getUnlockMethod()
-
newStub
public static LockGrpc.LockStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static LockGrpc.LockBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static LockGrpc.LockFutureStub 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()
-
-