Package com.viam.component.audioinput.v1
Class AudioInputServiceGrpc.AudioInputServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<AudioInputServiceGrpc.AudioInputServiceFutureStub>
com.viam.component.audioinput.v1.AudioInputServiceGrpc.AudioInputServiceFutureStub
- Enclosing class:
- AudioInputServiceGrpc
public static final class AudioInputServiceGrpc.AudioInputServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<AudioInputServiceGrpc.AudioInputServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse>
doCommand
(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandscom.google.common.util.concurrent.ListenableFuture<Common.GetGeometriesResponse>
getGeometries
(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationcom.google.common.util.concurrent.ListenableFuture<Audioinput.PropertiesResponse>
properties
(Audioinput.PropertiesRequest request) Properties returns properties of an audio input of the underlying robot.com.google.common.util.concurrent.ListenableFuture<HttpBody>
record
(Audioinput.RecordRequest request) Record records audio from an audio input of the underlying robot to an HTTP response.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.AudioInputServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<AudioInputServiceGrpc.AudioInputServiceFutureStub>
-
properties
public com.google.common.util.concurrent.ListenableFuture<Audioinput.PropertiesResponse> properties(Audioinput.PropertiesRequest request) Properties returns properties of an audio input of the underlying robot.
-
record
public com.google.common.util.concurrent.ListenableFuture<HttpBody> record(Audioinput.RecordRequest request) 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 com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse> doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commands
-
getGeometries
public com.google.common.util.concurrent.ListenableFuture<Common.GetGeometriesResponse> getGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configuration
-