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
@Generated
public interface RecognizeResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe ID associated with the request.getResults(int index) Sequential list of transcription results corresponding to sequential portions of audio.intSequential list of transcription results corresponding to sequential portions of audio.Sequential list of transcription results corresponding to sequential portions of audio.getResultsOrBuilder(int index) Sequential list of transcription results corresponding to sequential portions of audio.List<? extends SpeechRecognitionResultOrBuilder>Sequential list of transcription results corresponding to sequential portions of audio.Provides information on adaptation behavior in responseProvides information on adaptation behavior in responsecom.google.protobuf.DurationWhen available, billed audio seconds for the corresponding request.com.google.protobuf.DurationOrBuilderWhen available, billed audio seconds for the corresponding request.booleanProvides information on adaptation behavior in responsebooleanWhen available, billed audio seconds for the corresponding request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResultsList
List<SpeechRecognitionResult> getResultsList()Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2; -
getResults
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
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.
-