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 interfaceLoadBalancerGrpc.AsyncServicestatic classLoadBalancerGrpc.LoadBalancerBlockingStubA stub to allow clients to do limited synchronous rpc calls to service LoadBalancer.static classLoadBalancerGrpc.LoadBalancerBlockingV2StubA stub to allow clients to do synchronous rpc calls to service LoadBalancer.static classLoadBalancerGrpc.LoadBalancerFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service LoadBalancer.static classLoadBalancerGrpc.LoadBalancerImplBaseBase class for the server implementation of the service LoadBalancer.static classLoadBalancerGrpc.LoadBalancerStubA stub to allow clients to do asynchronous rpc calls to service LoadBalancer.
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerServiceDefinitionbindService(LoadBalancerGrpc.AsyncService service)static MethodDescriptor<LoadBalanceRequest,LoadBalanceResponse>getBalanceLoadMethod()static ServiceDescriptorgetServiceDescriptor()static LoadBalancerGrpc.LoadBalancerBlockingStubnewBlockingStub(Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic LoadBalancerGrpc.LoadBalancerBlockingV2StubnewBlockingV2Stub(Channel channel)Creates a new blocking-style stub that supports all types of calls on the servicestatic LoadBalancerGrpc.LoadBalancerFutureStubnewFutureStub(Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic LoadBalancerGrpc.LoadBalancerStubnewStub(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
-
newBlockingV2Stub
public static LoadBalancerGrpc.LoadBalancerBlockingV2Stub newBlockingV2Stub(Channel channel)
Creates a new blocking-style stub that supports all types of calls on 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()
-
-