Class TunedModel.Builder
- Enclosing class:
- TunedModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TunedModel
build()
checkpoints
(TunedModelCheckpoint... checkpoints) Setter for checkpoints.checkpoints
(TunedModelCheckpoint.Builder... checkpointsBuilders) Setter for checkpoints builder.abstract TunedModel.Builder
checkpoints
(List<TunedModelCheckpoint> checkpoints) Setter for checkpoints.abstract TunedModel.Builder
Setter for endpoint.abstract TunedModel.Builder
Setter for model.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
model
Setter for model.model: Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version_id will be 1. For continuous tuning, the version id will be incremented by 1 from the last version id in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}`
-
endpoint
Setter for endpoint.endpoint: Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
-
checkpoints
Setter for checkpoints.checkpoints: The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
-
checkpoints
Setter for checkpoints.checkpoints: The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
-
checkpoints
Setter for checkpoints builder.checkpoints: The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
-
build
-