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 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;
      • hasSpeechAdaptationInfo

        boolean hasSpeechAdaptationInfo()
         Provides information on adaptation behavior in response
         
        .google.cloud.speech.v1p1beta1.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.v1p1beta1.SpeechAdaptationInfo speech_adaptation_info = 7;
        Returns:
        The speechAdaptationInfo.
      • getSpeechAdaptationInfoOrBuilder

        SpeechAdaptationInfoOrBuilder getSpeechAdaptationInfoOrBuilder()
         Provides information on adaptation behavior in response
         
        .google.cloud.speech.v1p1beta1.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.