Package com.google.genai.types
Class GeneratedVideo
-
- All Implemented Interfaces:
public abstract class GeneratedVideo extends JsonSerializable
A generated video.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classGeneratedVideo.BuilderBuilder for GeneratedVideo.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description GeneratedVideo()
-
Method Summary
Modifier and Type Method Description abstract Optional<Video>video()The output video static GeneratedVideo.Builderbuilder()Instantiates a builder for GeneratedVideo. abstract GeneratedVideo.BuildertoBuilder()Creates a builder with the same values as this instance. static GeneratedVideofromJson(String jsonString)Deserializes a JSON string to a GeneratedVideo object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
builder
static GeneratedVideo.Builder builder()
Instantiates a builder for GeneratedVideo.
-
toBuilder
abstract GeneratedVideo.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static GeneratedVideo fromJson(String jsonString)
Deserializes a JSON string to a GeneratedVideo object.
-
-
-
-