Package com.viam.component.audioinput.v1
Class AudioInputServiceGrpc.AudioInputServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<AudioInputServiceGrpc.AudioInputServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<AudioInputServiceGrpc.AudioInputServiceBlockingV2Stub>
com.viam.component.audioinput.v1.AudioInputServiceGrpc.AudioInputServiceBlockingV2Stub
- Enclosing class:
AudioInputServiceGrpc
public static final class AudioInputServiceGrpc.AudioInputServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<AudioInputServiceGrpc.AudioInputServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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) io.grpc.stub.BlockingClientCall<?, Audioinput.ChunksResponse> chunks(Audioinput.ChunksRequest request) Chunks returns audio chunks forever from an audio input of the underlying robot.doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandsgetGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationproperties(Audioinput.PropertiesRequest request) Properties returns properties of an audio input of the underlying robot.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.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AudioInputServiceGrpc.AudioInputServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AudioInputServiceGrpc.AudioInputServiceBlockingV2Stub>
-
chunks
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,Audioinput.ChunksResponse> chunks(Audioinput.ChunksRequest request) Chunks returns audio chunks forever from an audio input of the underlying robot.
-
properties
public Audioinput.PropertiesResponse properties(Audioinput.PropertiesRequest request) throws io.grpc.StatusException Properties returns properties of an audio input of the underlying robot.
- Throws:
io.grpc.StatusException
-
record
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.
- Throws:
io.grpc.StatusException
-
doCommand
public Common.DoCommandResponse doCommand(Common.DoCommandRequest request) throws io.grpc.StatusException DoCommand sends/receives arbitrary commands
- Throws:
io.grpc.StatusException
-
getGeometries
public Common.GetGeometriesResponse getGeometries(Common.GetGeometriesRequest request) throws io.grpc.StatusException GetGeometries returns the geometries of the component in their current configuration
- Throws:
io.grpc.StatusException
-