Package com.google.genai.types
Class VeoTuningSpec
-
- All Implemented Interfaces:
public abstract class VeoTuningSpec extends JsonSerializable
Tuning Spec for Veo Model Tuning. This data type is not supported in Gemini API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classVeoTuningSpec.BuilderBuilder for VeoTuningSpec.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description VeoTuningSpec()
-
Method Summary
Modifier and Type Method Description abstract Optional<VeoHyperParameters>hyperParameters()Optional. abstract Optional<String>trainingDatasetUri()Required. abstract Optional<String>validationDatasetUri()Optional. static VeoTuningSpec.Builderbuilder()Instantiates a builder for VeoTuningSpec. abstract VeoTuningSpec.BuildertoBuilder()Creates a builder with the same values as this instance. static VeoTuningSpecfromJson(String jsonString)Deserializes a JSON string to a VeoTuningSpec 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
-
hyperParameters
abstract Optional<VeoHyperParameters> hyperParameters()
Optional. Hyperparameters for Veo.
-
trainingDatasetUri
abstract Optional<String> trainingDatasetUri()
Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.
-
validationDatasetUri
abstract Optional<String> validationDatasetUri()
Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.
-
builder
static VeoTuningSpec.Builder builder()
Instantiates a builder for VeoTuningSpec.
-
toBuilder
abstract VeoTuningSpec.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static VeoTuningSpec fromJson(String jsonString)
Deserializes a JSON string to a VeoTuningSpec object.
-
-
-
-