Package com.viam.service.vision.v1
Class VisionServiceGrpc.VisionServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<VisionServiceGrpc.VisionServiceStub>
com.viam.service.vision.v1.VisionServiceGrpc.VisionServiceStub
- Enclosing class:
- VisionServiceGrpc
public static final class VisionServiceGrpc.VisionServiceStub
extends io.grpc.stub.AbstractAsyncStub<VisionServiceGrpc.VisionServiceStub>
A stub to allow clients to do asynchronous rpc calls to service VisionService.
VisionService declares the gRPC contract for a vision service
-
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 TypeMethodDescriptionprotected VisionServiceGrpc.VisionServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
captureAllFromCamera
(Vision.CaptureAllFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.CaptureAllFromCameraResponse> responseObserver) void
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsvoid
getClassifications
(Vision.GetClassificationsRequest request, io.grpc.stub.StreamObserver<Vision.GetClassificationsResponse> responseObserver) GetClassifications will return a list of classifications in the next image given the image bytes and a classifiervoid
getClassificationsFromCamera
(Vision.GetClassificationsFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.GetClassificationsFromCameraResponse> responseObserver) GetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifiervoid
getDetections
(Vision.GetDetectionsRequest request, io.grpc.stub.StreamObserver<Vision.GetDetectionsResponse> responseObserver) GetDetections will return a list of detections in the next image given the image bytes and a detectorvoid
getDetectionsFromCamera
(Vision.GetDetectionsFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.GetDetectionsFromCameraResponse> responseObserver) GetDetectionsFromCamera will return a list of detections in the next image given a camera and a detectorvoid
getObjectPointClouds
(Vision.GetObjectPointCloudsRequest request, io.grpc.stub.StreamObserver<Vision.GetObjectPointCloudsResponse> responseObserver) GetObjectPointClouds returns all the found objects in a pointcloud from a camera of the underlying robot, as well as the 3-vector center of each of the found objects.void
getProperties
(Vision.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Vision.GetPropertiesResponse> responseObserver) GetProperties will return the properties as booleans given the name of the vision serviceMethods 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 VisionServiceGrpc.VisionServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<VisionServiceGrpc.VisionServiceStub>
-
getDetectionsFromCamera
public void getDetectionsFromCamera(Vision.GetDetectionsFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.GetDetectionsFromCameraResponse> responseObserver) GetDetectionsFromCamera will return a list of detections in the next image given a camera and a detector
-
getDetections
public void getDetections(Vision.GetDetectionsRequest request, io.grpc.stub.StreamObserver<Vision.GetDetectionsResponse> responseObserver) GetDetections will return a list of detections in the next image given the image bytes and a detector
-
getClassificationsFromCamera
public void getClassificationsFromCamera(Vision.GetClassificationsFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.GetClassificationsFromCameraResponse> responseObserver) GetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifier
-
getClassifications
public void getClassifications(Vision.GetClassificationsRequest request, io.grpc.stub.StreamObserver<Vision.GetClassificationsResponse> responseObserver) GetClassifications will return a list of classifications in the next image given the image bytes and a classifier
-
getObjectPointClouds
public void getObjectPointClouds(Vision.GetObjectPointCloudsRequest request, io.grpc.stub.StreamObserver<Vision.GetObjectPointCloudsResponse> responseObserver) GetObjectPointClouds returns all the found objects in a pointcloud from a camera of the underlying robot, as well as the 3-vector center of each of the found objects. A specific MIME type can be requested but may not necessarily be the same one returned.
-
getProperties
public void getProperties(Vision.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Vision.GetPropertiesResponse> responseObserver) GetProperties will return the properties as booleans given the name of the vision service
-
captureAllFromCamera
public void captureAllFromCamera(Vision.CaptureAllFromCameraRequest request, io.grpc.stub.StreamObserver<Vision.CaptureAllFromCameraResponse> responseObserver) -
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-