Interface LongRunningRecognizeRequestOrBuilder (4.8.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the outputConfig field is set.