Package com.viam.component.audioinput.v1
Class AudioInputServiceGrpc.AudioInputServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<AudioInputServiceGrpc.AudioInputServiceStub>
com.viam.component.audioinput.v1.AudioInputServiceGrpc.AudioInputServiceStub
- Enclosing class:
- AudioInputServiceGrpc
public static final class AudioInputServiceGrpc.AudioInputServiceStub
extends io.grpc.stub.AbstractAsyncStub<AudioInputServiceGrpc.AudioInputServiceStub>
A stub to allow clients to do asynchronous rpc calls to service AudioInputService.
An AudioInputService services all audio inputs associated with a robot
-
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
chunks
(Audioinput.ChunksRequest request, io.grpc.stub.StreamObserver<Audioinput.ChunksResponse> responseObserver) Chunks returns audio chunks forever from an audio input of the underlying robot.void
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsvoid
getGeometries
(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationvoid
properties
(Audioinput.PropertiesRequest request, io.grpc.stub.StreamObserver<Audioinput.PropertiesResponse> responseObserver) Properties returns properties of an audio input of the underlying robot.void
record
(Audioinput.RecordRequest request, io.grpc.stub.StreamObserver<HttpBody> responseObserver) Record records audio from an audio input of the underlying robot to an HTTP response.Methods 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 AudioInputServiceGrpc.AudioInputServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<AudioInputServiceGrpc.AudioInputServiceStub>
-
chunks
public void chunks(Audioinput.ChunksRequest request, io.grpc.stub.StreamObserver<Audioinput.ChunksResponse> responseObserver) Chunks returns audio chunks forever from an audio input of the underlying robot.
-
properties
public void properties(Audioinput.PropertiesRequest request, io.grpc.stub.StreamObserver<Audioinput.PropertiesResponse> responseObserver) Properties returns properties of an audio input of the underlying robot.
-
record
public void record(Audioinput.RecordRequest request, io.grpc.stub.StreamObserver<HttpBody> responseObserver) Record records audio from an audio input of the underlying robot to an HTTP response. A specific MIME type cannot be requested and may not necessarily be the same one returned each time.
-
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-
getGeometries
public void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configuration
-