Interface BatchRecognizeResultsOrBuilder (4.27.0)

public interface BatchRecognizeResultsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetadata()

public abstract RecognitionResponseMetadata getMetadata()

Metadata about the recognition.

.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;

Returns
TypeDescription
RecognitionResponseMetadata

The metadata.

getMetadataOrBuilder()

public abstract RecognitionResponseMetadataOrBuilder getMetadataOrBuilder()

Metadata about the recognition.

.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;

Returns
TypeDescription
RecognitionResponseMetadataOrBuilder

getResults(int index)

public abstract SpeechRecognitionResult getResults(int index)

Sequential list of transcription results corresponding to sequential portions of audio.

repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpeechRecognitionResult

getResultsCount()

public abstract int getResultsCount()

Sequential list of transcription results corresponding to sequential portions of audio.

repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;

Returns
TypeDescription
int

getResultsList()

public abstract List<SpeechRecognitionResult> getResultsList()

Sequential list of transcription results corresponding to sequential portions of audio.

repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;

Returns
TypeDescription
List<SpeechRecognitionResult>

getResultsOrBuilder(int index)

public abstract SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)

Sequential list of transcription results corresponding to sequential portions of audio.

repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpeechRecognitionResultOrBuilder

getResultsOrBuilderList()

public abstract List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()

Sequential list of transcription results corresponding to sequential portions of audio.

repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;

Returns
TypeDescription
List<? extends com.google.cloud.speech.v2.SpeechRecognitionResultOrBuilder>

hasMetadata()

public abstract boolean hasMetadata()

Metadata about the recognition.

.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;

Returns
TypeDescription
boolean

Whether the metadata field is set.