Class StaticMediaProcessing

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

public class StaticMediaProcessing extends Object
  • Constructor Details

    • StaticMediaProcessing

      public StaticMediaProcessing(@Nullable String endOffset, @Nullable Double fps, @Nullable String startOffset)
    • StaticMediaProcessing

      public StaticMediaProcessing()
  • Method Details

    • endOffset

      public Optional<String> endOffset()
      Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
    • fps

      public Optional<Double> fps()
      Optional. Video frame-rate sampling density.
    • startOffset

      public Optional<String> startOffset()
      Optional. Segment start time. 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 StaticMediaProcessing.Builder builder()
    • withEndOffset

      public StaticMediaProcessing withEndOffset(@Nullable String endOffset)
      Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set.
    • withFps

      public StaticMediaProcessing withFps(@Nullable Double fps)
      Optional. Video frame-rate sampling density.
    • withStartOffset

      public StaticMediaProcessing withStartOffset(@Nullable String startOffset)
      Optional. Segment start time. 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