Interface InlineResultOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
InlineResult, InlineResult.Builder

@Generated public interface InlineResultOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The transcript for the audio file as SRT formatted captions.
    com.google.protobuf.ByteString
    The transcript for the audio file as SRT formatted captions.
    The transcript for the audio file.
    The transcript for the audio file.
    The transcript for the audio file as VTT formatted captions.
    com.google.protobuf.ByteString
    The transcript for the audio file as VTT formatted captions.
    boolean
    The transcript for the audio file.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasTranscript

      boolean hasTranscript()
       The transcript for the audio file.
       
      .google.cloud.speech.v2.BatchRecognizeResults transcript = 1;
      Returns:
      Whether the transcript field is set.
    • getTranscript

      BatchRecognizeResults getTranscript()
       The transcript for the audio file.
       
      .google.cloud.speech.v2.BatchRecognizeResults transcript = 1;
      Returns:
      The transcript.
    • getTranscriptOrBuilder

      BatchRecognizeResultsOrBuilder getTranscriptOrBuilder()
       The transcript for the audio file.
       
      .google.cloud.speech.v2.BatchRecognizeResults transcript = 1;
    • getVttCaptions

      String getVttCaptions()
       The transcript for the audio file as VTT formatted captions. This is
       populated only when `VTT` output is requested.
       
      string vtt_captions = 2;
      Returns:
      The vttCaptions.
    • getVttCaptionsBytes

      com.google.protobuf.ByteString getVttCaptionsBytes()
       The transcript for the audio file as VTT formatted captions. This is
       populated only when `VTT` output is requested.
       
      string vtt_captions = 2;
      Returns:
      The bytes for vttCaptions.
    • getSrtCaptions

      String getSrtCaptions()
       The transcript for the audio file as SRT formatted captions. This is
       populated only when `SRT` output is requested.
       
      string srt_captions = 3;
      Returns:
      The srtCaptions.
    • getSrtCaptionsBytes

      com.google.protobuf.ByteString getSrtCaptionsBytes()
       The transcript for the audio file as SRT formatted captions. This is
       populated only when `SRT` output is requested.
       
      string srt_captions = 3;
      Returns:
      The bytes for srtCaptions.