Package com.google.genai.types
Class PreTunedModel.Builder
java.lang.Object
com.google.genai.types.PreTunedModel.Builder
- Enclosing class:
- PreTunedModel
Builder for PreTunedModel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract PreTunedModel.Builder
Setter for baseModel.abstract PreTunedModel
build()
abstract PreTunedModel.Builder
checkpointId
(String checkpointId) Setter for checkpointId.abstract PreTunedModel.Builder
tunedModelName
(String tunedModelName) Setter for tunedModelName.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baseModel
Setter for baseModel.baseModel: Output only. The name of the base model this PreTunedModel was tuned from.
-
checkpointId
Setter for checkpointId.checkpointId: Optional. The source checkpoint id. If not specified, the default checkpoint will be used.
-
tunedModelName
Setter for tunedModelName.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}`
-
build
-