Package com.google.genai.types
Class PreTunedModel
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.PreTunedModel
A pre-tuned model for continuous tuning.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOutput only.static PreTunedModel.Builder
builder()
Instantiates a builder for PreTunedModel.Optional.static PreTunedModel
Deserializes a JSON string to a PreTunedModel object.abstract PreTunedModel.Builder
Creates a builder with the same values as this instance.The resource name of the Model.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
PreTunedModel
public PreTunedModel()
-
-
Method Details
-
baseModel
Output only. The name of the base model this PreTunedModel was tuned from. -
checkpointId
Optional. The source checkpoint id. If not specified, the default checkpoint will be used. -
tunedModelName
The resource name of the Model. E.g., a model resource name with a specified version id or alias: `projects/{project}/locations/{location}/models/{model}@{version_id}` `projects/{project}/locations/{location}/models/{model}@{alias}` Or, omit the version id to use the default version: `projects/{project}/locations/{location}/models/{model}` -
builder
Instantiates a builder for PreTunedModel. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a PreTunedModel object.
-