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.BuilderSetter for baseModel.abstract PreTunedModelbuild()abstract PreTunedModel.BuildercheckpointId(String checkpointId) Setter for checkpointId.Clears the value of baseModel field.Clears the value of checkpointId field.Clears the value of tunedModelName field.abstract PreTunedModel.BuildertunedModelName(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.
-
clearBaseModel
Clears the value of baseModel field. -
checkpointId
Setter for checkpointId.checkpointId: Optional. The source checkpoint id. If not specified, the default checkpoint will be used.
-
clearCheckpointId
Clears the value of checkpointId field. -
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}`
-
clearTunedModelName
Clears the value of tunedModelName field. -
build
-