Package binoculars
Class BinocularsGrpc
- java.lang.Object
-
- binoculars.BinocularsGrpc
-
public final class BinocularsGrpc extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBinocularsGrpc.AsyncServicestatic classBinocularsGrpc.BinocularsBlockingStubA stub to allow clients to do synchronous rpc calls to service Binoculars.static classBinocularsGrpc.BinocularsFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service Binoculars.static classBinocularsGrpc.BinocularsImplBaseBase class for the server implementation of the service Binoculars.static classBinocularsGrpc.BinocularsStubA stub to allow clients to do asynchronous rpc calls to service Binoculars.
-
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 io.grpc.ServerServiceDefinitionbindService(BinocularsGrpc.AsyncService service)static io.grpc.MethodDescriptor<BinocularsOuterClass.CordonRequest,com.google.protobuf.Empty>getCordonMethod()static io.grpc.MethodDescriptor<BinocularsOuterClass.LogRequest,BinocularsOuterClass.LogResponse>getLogsMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static BinocularsGrpc.BinocularsBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic BinocularsGrpc.BinocularsFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic BinocularsGrpc.BinocularsStubnewStub(io.grpc.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
-
getLogsMethod
public static io.grpc.MethodDescriptor<BinocularsOuterClass.LogRequest,BinocularsOuterClass.LogResponse> getLogsMethod()
-
getCordonMethod
public static io.grpc.MethodDescriptor<BinocularsOuterClass.CordonRequest,com.google.protobuf.Empty> getCordonMethod()
-
newStub
public static BinocularsGrpc.BinocularsStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static BinocularsGrpc.BinocularsBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static BinocularsGrpc.BinocularsFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(BinocularsGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-