Package com.google.cloud.speech.v1
Interface LongRunningRecognizeResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LongRunningRecognizeResponse,LongRunningRecognizeResponse.Builder
@Generated
public interface LongRunningRecognizeResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOriginal output config if present in the request.Original output config if present in the request.If the transcript output fails this field contains the relevant error.If the transcript output fails this field contains the relevant error.longThe 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 speech adaptation behavior in responseProvides information on speech 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.booleanOriginal output config if present in the request.booleanIf the transcript output fails this field contains the relevant error.booleanProvides information on speech 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; -
hasOutputConfig
boolean hasOutputConfig()Original output config if present in the request.
.google.cloud.speech.v1.TranscriptOutputConfig output_config = 6;- Returns:
- Whether the outputConfig field is set.
-
getOutputConfig
TranscriptOutputConfig getOutputConfig()Original output config if present in the request.
.google.cloud.speech.v1.TranscriptOutputConfig output_config = 6;- Returns:
- The outputConfig.
-
getOutputConfigOrBuilder
TranscriptOutputConfigOrBuilder getOutputConfigOrBuilder()Original output config if present in the request.
.google.cloud.speech.v1.TranscriptOutputConfig output_config = 6; -
hasOutputError
boolean hasOutputError()If the transcript output fails this field contains the relevant error.
.google.rpc.Status output_error = 7;- Returns:
- Whether the outputError field is set.
-
getOutputError
Status getOutputError()If the transcript output fails this field contains the relevant error.
.google.rpc.Status output_error = 7;- Returns:
- The outputError.
-
getOutputErrorOrBuilder
StatusOrBuilder getOutputErrorOrBuilder()If the transcript output fails this field contains the relevant error.
.google.rpc.Status output_error = 7; -
hasSpeechAdaptationInfo
boolean hasSpeechAdaptationInfo()Provides information on speech adaptation behavior in response
.google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 8;- Returns:
- Whether the speechAdaptationInfo field is set.
-
getSpeechAdaptationInfo
SpeechAdaptationInfo getSpeechAdaptationInfo()Provides information on speech adaptation behavior in response
.google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 8;- Returns:
- The speechAdaptationInfo.
-
getSpeechAdaptationInfoOrBuilder
SpeechAdaptationInfoOrBuilder getSpeechAdaptationInfoOrBuilder()Provides information on speech adaptation behavior in response
.google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 8; -
getRequestId
long getRequestId()The ID associated with the request. This is a unique ID specific only to the given request.
int64 request_id = 9;- Returns:
- The requestId.
-