Package com.viam.service.discovery.v1
Class DiscoveryServiceGrpc.DiscoveryServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DiscoveryServiceGrpc.DiscoveryServiceStub>
com.viam.service.discovery.v1.DiscoveryServiceGrpc.DiscoveryServiceStub
- Enclosing class:
- DiscoveryServiceGrpc
public static final class DiscoveryServiceGrpc.DiscoveryServiceStub
extends io.grpc.stub.AbstractAsyncStub<DiscoveryServiceGrpc.DiscoveryServiceStub>
A stub to allow clients to do asynchronous rpc calls to service DiscoveryService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
discoverResources
(Discovery.DiscoverResourcesRequest request, io.grpc.stub.StreamObserver<Discovery.DiscoverResourcesResponse> responseObserver) DiscoverResources returns the list of all discovered viam resources connected to the viam-server machine.void
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsMethods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DiscoveryServiceGrpc.DiscoveryServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<DiscoveryServiceGrpc.DiscoveryServiceStub>
-
discoverResources
public void discoverResources(Discovery.DiscoverResourcesRequest request, io.grpc.stub.StreamObserver<Discovery.DiscoverResourcesResponse> responseObserver) DiscoverResources returns the list of all discovered viam resources connected to the viam-server machine.
-
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-