Package com.google.cloud.speech.v2
Interface BatchRecognizeResultsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchRecognizeResults
,BatchRecognizeResults.Builder
public interface BatchRecognizeResultsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecognitionResponseMetadata
getMetadata()
Metadata about the recognition.RecognitionResponseMetadataOrBuilder
getMetadataOrBuilder()
Metadata about the recognition.SpeechRecognitionResult
getResults(int index)
Sequential list of transcription results corresponding to sequential portions of audio.int
getResultsCount()
Sequential list of transcription results corresponding to sequential portions of audio.List<SpeechRecognitionResult>
getResultsList()
Sequential list of transcription results corresponding to sequential portions of audio.SpeechRecognitionResultOrBuilder
getResultsOrBuilder(int index)
Sequential list of transcription results corresponding to sequential portions of audio.List<? extends SpeechRecognitionResultOrBuilder>
getResultsOrBuilderList()
Sequential list of transcription results corresponding to sequential portions of audio.boolean
hasMetadata()
Metadata about the recognition.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResultsList
List<SpeechRecognitionResult> getResultsList()
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;
-
getResults
SpeechRecognitionResult getResults(int index)
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;
-
getResultsCount
int getResultsCount()
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;
-
getResultsOrBuilderList
List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;
-
getResultsOrBuilder
SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;
-
hasMetadata
boolean hasMetadata()
Metadata about the recognition.
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;
- Returns:
- Whether the metadata field is set.
-
getMetadata
RecognitionResponseMetadata getMetadata()
Metadata about the recognition.
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;
- Returns:
- The metadata.
-
getMetadataOrBuilder
RecognitionResponseMetadataOrBuilder getMetadataOrBuilder()
Metadata about the recognition.
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;
-
-