Class SmartTranscriptionMode

java.lang.Object
com.google.genai.gaos.models.interactions.SmartTranscriptionMode
All Implemented Interfaces:
TranscriptionMode

public class SmartTranscriptionMode extends Object implements TranscriptionMode
SmartTranscriptionMode

Configuration for smart transcription mode.

  • Constructor Details

    • SmartTranscriptionMode

      public SmartTranscriptionMode(@Nullable String sourceText)
    • SmartTranscriptionMode

      public SmartTranscriptionMode()
  • Method Details

    • sourceText

      public Optional<String> sourceText()
      The source text to be edited or rewritten via voice instructions. When provided, the model performs voice-driven editing and outputs the finalized replacement text.
    • type

      public String type()
      Specified by:
      type in interface TranscriptionMode
    • builder

      public static SmartTranscriptionMode.Builder builder()
    • withSourceText

      public SmartTranscriptionMode withSourceText(@Nullable String sourceText)
      The source text to be edited or rewritten via voice instructions. When provided, the model performs voice-driven editing and outputs the finalized replacement text.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object