Class AudioStaticMediaProcessing

java.lang.Object
com.google.genai.gaos.models.interactions.AudioStaticMediaProcessing

public class AudioStaticMediaProcessing extends Object
  • Constructor Details

    • AudioStaticMediaProcessing

      public AudioStaticMediaProcessing(@Nullable String endOffset, @Nullable String startOffset)
    • AudioStaticMediaProcessing

      public AudioStaticMediaProcessing()
  • Method Details

    • endOffset

      public Optional<String> endOffset()
      Optional. Segment end time, relative to the start of the audio stream. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be positive and greater than `start_offset` if `start_offset` is set.
    • startOffset

      public Optional<String> startOffset()
      Optional. Segment start time, relative to the start of the audio stream. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
    • type

      public Optional<String> type()
    • builder

      public static AudioStaticMediaProcessing.Builder builder()
    • withEndOffset

      public AudioStaticMediaProcessing withEndOffset(@Nullable String endOffset)
      Optional. Segment end time, relative to the start of the audio stream. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be positive and greater than `start_offset` if `start_offset` is set.
    • withStartOffset

      public AudioStaticMediaProcessing withStartOffset(@Nullable String startOffset)
      Optional. Segment start time, relative to the start of the audio stream. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "10.5s". Must be non-negative.
    • 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