Package com.google.cloud.speech.v1
Interface RecognizeResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecognizeResponse
,RecognizeResponse.Builder
public interface RecognizeResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getRequestId()
The ID associated with the request.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.SpeechAdaptationInfo
getSpeechAdaptationInfo()
Provides information on adaptation behavior in responseSpeechAdaptationInfoOrBuilder
getSpeechAdaptationInfoOrBuilder()
Provides information on adaptation behavior in responsecom.google.protobuf.Duration
getTotalBilledTime()
When available, billed audio seconds for the corresponding request.com.google.protobuf.DurationOrBuilder
getTotalBilledTimeOrBuilder()
When available, billed audio seconds for the corresponding request.boolean
hasSpeechAdaptationInfo()
Provides information on adaptation behavior in responseboolean
hasTotalBilledTime()
When available, billed audio seconds for the corresponding request.-
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.v1.SpeechRecognitionResult results = 2;
-
getResults
SpeechRecognitionResult getResults(int index)
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;
-
getResultsCount
int getResultsCount()
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;
-
getResultsOrBuilderList
List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;
-
getResultsOrBuilder
SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;
-
hasTotalBilledTime
boolean hasTotalBilledTime()
When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_time = 3;
- Returns:
- Whether the totalBilledTime field is set.
-
getTotalBilledTime
com.google.protobuf.Duration getTotalBilledTime()
When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_time = 3;
- Returns:
- The totalBilledTime.
-
getTotalBilledTimeOrBuilder
com.google.protobuf.DurationOrBuilder getTotalBilledTimeOrBuilder()
When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_time = 3;
-
hasSpeechAdaptationInfo
boolean hasSpeechAdaptationInfo()
Provides information on adaptation behavior in response
.google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 7;
- Returns:
- Whether the speechAdaptationInfo field is set.
-
getSpeechAdaptationInfo
SpeechAdaptationInfo getSpeechAdaptationInfo()
Provides information on adaptation behavior in response
.google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 7;
- Returns:
- The speechAdaptationInfo.
-
getSpeechAdaptationInfoOrBuilder
SpeechAdaptationInfoOrBuilder getSpeechAdaptationInfoOrBuilder()
Provides information on adaptation behavior in response
.google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 7;
-
getRequestId
long getRequestId()
The ID associated with the request. This is a unique ID specific only to the given request.
int64 request_id = 8;
- Returns:
- The requestId.
-
-