Class SpeechStub (4.37.0)

public abstract class SpeechStub implements BackgroundResource

Base stub class for the Speech service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > SpeechStub

Implements

BackgroundResource

Constructors

SpeechStub()

public SpeechStub()

Methods

close()

public abstract void close()

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
Type Description
OperationsStub

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
Type Description
OperationsStub

longRunningRecognizeCallable()

public UnaryCallable<LongRunningRecognizeRequest,Operation> longRunningRecognizeCallable()
Returns
Type Description
UnaryCallable<LongRunningRecognizeRequest,Operation>

longRunningRecognizeOperationCallable()

public OperationCallable<LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata> longRunningRecognizeOperationCallable()
Returns
Type Description
OperationCallable<LongRunningRecognizeRequest,LongRunningRecognizeResponse,LongRunningRecognizeMetadata>

recognizeCallable()

public UnaryCallable<RecognizeRequest,RecognizeResponse> recognizeCallable()
Returns
Type Description
UnaryCallable<RecognizeRequest,RecognizeResponse>

streamingRecognizeCallable()

public BidiStreamingCallable<StreamingRecognizeRequest,StreamingRecognizeResponse> streamingRecognizeCallable()
Returns
Type Description
BidiStreamingCallable<StreamingRecognizeRequest,StreamingRecognizeResponse>