Interface SyncRecognizeRequestOrBuilder (4.43.0)

public interface SyncRecognizeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudio()

public abstract RecognitionAudio getAudio()

Required The audio data to be recognized.

.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;

Returns
Type Description
RecognitionAudio

getAudioOrBuilder()

public abstract RecognitionAudioOrBuilder getAudioOrBuilder()

Required The audio data to be recognized.

.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;

Returns
Type Description
RecognitionAudioOrBuilder

getConfig()

public abstract RecognitionConfig getConfig()

Required Provides information to the recognizer that specifies how to process the request.

.google.cloud.speech.v1beta1.RecognitionConfig config = 1;

Returns
Type Description
RecognitionConfig

getConfigOrBuilder()

public abstract RecognitionConfigOrBuilder getConfigOrBuilder()

Required Provides information to the recognizer that specifies how to process the request.

.google.cloud.speech.v1beta1.RecognitionConfig config = 1;

Returns
Type Description
RecognitionConfigOrBuilder

hasAudio()

public abstract boolean hasAudio()

Required The audio data to be recognized.

.google.cloud.speech.v1beta1.RecognitionAudio audio = 2;

Returns
Type Description
boolean

hasConfig()

public abstract boolean hasConfig()

Required Provides information to the recognizer that specifies how to process the request.

.google.cloud.speech.v1beta1.RecognitionConfig config = 1;

Returns
Type Description
boolean