Interface LongRunningRecognizeRequestOrBuilder (4.38.0)

public interface LongRunningRecognizeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudio()

public abstract RecognitionAudio getAudio()

Required. The audio data to be recognized.

.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RecognitionAudio

The audio.

getAudioOrBuilder()

public abstract RecognitionAudioOrBuilder getAudioOrBuilder()

Required. The audio data to be recognized.

.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];

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.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RecognitionConfig

The config.

getConfigOrBuilder()

public abstract RecognitionConfigOrBuilder getConfigOrBuilder()

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

.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RecognitionConfigOrBuilder

getOutputConfig()

public abstract TranscriptOutputConfig getOutputConfig()

Optional. Specifies an optional destination for the recognition results.

.google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TranscriptOutputConfig

The outputConfig.

getOutputConfigOrBuilder()

public abstract TranscriptOutputConfigOrBuilder getOutputConfigOrBuilder()

Optional. Specifies an optional destination for the recognition results.

.google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TranscriptOutputConfigOrBuilder

hasAudio()

public abstract boolean hasAudio()

Required. The audio data to be recognized.

.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the audio field is set.

hasConfig()

public abstract boolean hasConfig()

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

.google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the config field is set.

hasOutputConfig()

public abstract boolean hasOutputConfig()

Optional. Specifies an optional destination for the recognition results.

.google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the outputConfig field is set.