Package io.grpc.lb.v1
Class LoadBalancerGrpc
- java.lang.Object
-
- io.grpc.lb.v1.LoadBalancerGrpc
-
public final class LoadBalancerGrpc extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LoadBalancerGrpc.AsyncService
static class
LoadBalancerGrpc.LoadBalancerBlockingStub
A stub to allow clients to do synchronous rpc calls to service LoadBalancer.static class
LoadBalancerGrpc.LoadBalancerFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service LoadBalancer.static class
LoadBalancerGrpc.LoadBalancerImplBase
Base class for the server implementation of the service LoadBalancer.static class
LoadBalancerGrpc.LoadBalancerStub
A stub to allow clients to do asynchronous rpc calls to service LoadBalancer.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerServiceDefinition
bindService(LoadBalancerGrpc.AsyncService service)
static MethodDescriptor<LoadBalanceRequest,LoadBalanceResponse>
getBalanceLoadMethod()
static ServiceDescriptor
getServiceDescriptor()
static LoadBalancerGrpc.LoadBalancerBlockingStub
newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic LoadBalancerGrpc.LoadBalancerFutureStub
newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic LoadBalancerGrpc.LoadBalancerStub
newStub(Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBalanceLoadMethod
public static MethodDescriptor<LoadBalanceRequest,LoadBalanceResponse> getBalanceLoadMethod()
-
newStub
public static LoadBalancerGrpc.LoadBalancerStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static LoadBalancerGrpc.LoadBalancerBlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static LoadBalancerGrpc.LoadBalancerFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final ServerServiceDefinition bindService(LoadBalancerGrpc.AsyncService service)
-
getServiceDescriptor
public static ServiceDescriptor getServiceDescriptor()
-
-