Interface LongRunningRecognizeResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LongRunningRecognizeResponse,LongRunningRecognizeResponse.Builder
public interface LongRunningRecognizeResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TranscriptOutputConfiggetOutputConfig()Original output config if present in the request.TranscriptOutputConfigOrBuildergetOutputConfigOrBuilder()Original output config if present in the request.com.google.rpc.StatusgetOutputError()If the transcript output fails this field contains the relevant error.com.google.rpc.StatusOrBuildergetOutputErrorOrBuilder()If the transcript output fails this field contains the relevant error.longgetRequestId()The ID associated with the request.SpeechRecognitionResultgetResults(int index)Sequential list of transcription results corresponding to sequential portions of audio.intgetResultsCount()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.SpeechRecognitionResultOrBuildergetResultsOrBuilder(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.SpeechAdaptationInfogetSpeechAdaptationInfo()Provides information on speech adaptation behavior in responseSpeechAdaptationInfoOrBuildergetSpeechAdaptationInfoOrBuilder()Provides information on speech adaptation behavior in responsecom.google.protobuf.DurationgetTotalBilledTime()When available, billed audio seconds for the corresponding request.com.google.protobuf.DurationOrBuildergetTotalBilledTimeOrBuilder()When available, billed audio seconds for the corresponding request.booleanhasOutputConfig()Original output config if present in the request.booleanhasOutputError()If the transcript output fails this field contains the relevant error.booleanhasSpeechAdaptationInfo()Provides information on speech adaptation behavior in responsebooleanhasTotalBilledTime()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.v1p1beta1.SpeechRecognitionResult results = 2;
-
getResults
SpeechRecognitionResult getResults(int index)
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
-
getResultsCount
int getResultsCount()
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
-
getResultsOrBuilderList
List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.SpeechRecognitionResult results = 2;
-
getResultsOrBuilder
SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v1p1beta1.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.v1p1beta1.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.v1p1beta1.TranscriptOutputConfig output_config = 6;- Returns:
- The outputConfig.
-
getOutputConfigOrBuilder
TranscriptOutputConfigOrBuilder getOutputConfigOrBuilder()
Original output config if present in the request.
.google.cloud.speech.v1p1beta1.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
com.google.rpc.Status getOutputError()
If the transcript output fails this field contains the relevant error.
.google.rpc.Status output_error = 7;- Returns:
- The outputError.
-
getOutputErrorOrBuilder
com.google.rpc.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.v1p1beta1.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.v1p1beta1.SpeechAdaptationInfo speech_adaptation_info = 8;- Returns:
- The speechAdaptationInfo.
-
getSpeechAdaptationInfoOrBuilder
SpeechAdaptationInfoOrBuilder getSpeechAdaptationInfoOrBuilder()
Provides information on speech adaptation behavior in response
.google.cloud.speech.v1p1beta1.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.
-
-