@Generated(value="by gRPC proto compiler (version 1.7.0)", comments="Source: etcd/etcdserver/etcdserverpb/rpc.proto") public final class LeaseGrpc extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
LeaseGrpc.LeaseBlockingStub |
static class |
LeaseGrpc.LeaseFutureStub |
static class |
LeaseGrpc.LeaseImplBase |
static class |
LeaseGrpc.LeaseStub |
| 限定符和类型 | 字段和说明 |
|---|---|
static io.grpc.MethodDescriptor<Rpc.LeaseGrantRequest,Rpc.LeaseGrantResponse> |
METHOD_LEASE_GRANT |
static io.grpc.MethodDescriptor<Rpc.LeaseKeepAliveRequest,Rpc.LeaseKeepAliveResponse> |
METHOD_LEASE_KEEP_ALIVE |
static io.grpc.MethodDescriptor<Rpc.LeaseRevokeRequest,Rpc.LeaseRevokeResponse> |
METHOD_LEASE_REVOKE |
static io.grpc.MethodDescriptor<Rpc.LeaseTimeToLiveRequest,Rpc.LeaseTimeToLiveResponse> |
METHOD_LEASE_TIME_TO_LIVE |
static String |
SERVICE_NAME |
| 限定符和类型 | 方法和说明 |
|---|---|
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static LeaseGrpc.LeaseBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static LeaseGrpc.LeaseFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static LeaseGrpc.LeaseStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor<Rpc.LeaseGrantRequest,Rpc.LeaseGrantResponse> METHOD_LEASE_GRANT
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor<Rpc.LeaseRevokeRequest,Rpc.LeaseRevokeResponse> METHOD_LEASE_REVOKE
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor<Rpc.LeaseKeepAliveRequest,Rpc.LeaseKeepAliveResponse> METHOD_LEASE_KEEP_ALIVE
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor<Rpc.LeaseTimeToLiveRequest,Rpc.LeaseTimeToLiveResponse> METHOD_LEASE_TIME_TO_LIVE
public static LeaseGrpc.LeaseStub newStub(io.grpc.Channel channel)
public static LeaseGrpc.LeaseBlockingStub newBlockingStub(io.grpc.Channel channel)
public static LeaseGrpc.LeaseFutureStub newFutureStub(io.grpc.Channel channel)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
Copyright © 2018. All rights reserved.