Package com.google.genai.types
Class GenerateVideosResponse
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GenerateVideosResponse
Response with generated videos.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for GenerateVideosResponse. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for GenerateVideosResponse.static GenerateVideosResponseDeserializes a JSON string to a GenerateVideosResponse object.abstract Optional<List<GeneratedVideo>>List of the generated videosReturns if any videos were filtered due to RAI policies.Returns rai failure reasons if any.abstract GenerateVideosResponse.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
GenerateVideosResponse
public GenerateVideosResponse()
-
-
Method Details
-
generatedVideos
List of the generated videos -
raiMediaFilteredCount
Returns if any videos were filtered due to RAI policies. -
raiMediaFilteredReasons
Returns rai failure reasons if any. -
builder
Instantiates a builder for GenerateVideosResponse. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GenerateVideosResponse object.
-