Package com.google.genai.types
Class AudioMetadata.Builder
java.lang.Object
com.google.genai.types.AudioMetadata.Builder
- Enclosing class:
- AudioMetadata
Builder for AudioMetadata.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AudioMetadatabuild()Clears the value of endOffset field.Clears the value of startOffset field.abstract AudioMetadata.BuilderSetter for endOffset.abstract AudioMetadata.BuilderstartOffset(Duration startOffset) Setter for startOffset.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
startOffset
Setter for startOffset.startOffset: Optional. The start offset of the audio, relative to the start of the audio stream.
-
clearStartOffset
Clears the value of startOffset field. -
endOffset
Setter for endOffset.endOffset: Optional. The end offset of the audio, relative to the start of the audio stream.
-
clearEndOffset
Clears the value of endOffset field. -
build
-