Class TunedModel.Builder
-
- All Implemented Interfaces:
public abstract class TunedModel.BuilderBuilder for TunedModel.
-
-
Constructor Summary
Constructors Constructor Description TunedModel.Builder()
-
Method Summary
Modifier and Type Method Description abstract TunedModel.Buildermodel(String model)Setter for model. TunedModel.BuilderclearModel()Clears the value of model field. abstract TunedModel.Builderendpoint(String endpoint)Setter for endpoint. TunedModel.BuilderclearEndpoint()Clears the value of endpoint field. abstract TunedModel.Buildercheckpoints(List<TunedModelCheckpoint> checkpoints)Setter for checkpoints. TunedModel.Buildercheckpoints(Array<TunedModelCheckpoint> checkpoints)Setter for checkpoints. TunedModel.Buildercheckpoints(Array<TunedModelCheckpoint.Builder> checkpointsBuilders)Setter for checkpoints builder. TunedModel.BuilderclearCheckpoints()Clears the value of checkpoints field. abstract TunedModelbuild()-
-
Method Detail
-
model
abstract TunedModel.Builder model(String 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}`
-
clearModel
@CanIgnoreReturnValue() TunedModel.Builder clearModel()
Clears the value of model field.
-
endpoint
abstract TunedModel.Builder endpoint(String endpoint)
Setter for endpoint.
endpoint: Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
-
clearEndpoint
@CanIgnoreReturnValue() TunedModel.Builder clearEndpoint()
Clears the value of endpoint field.
-
checkpoints
abstract TunedModel.Builder checkpoints(List<TunedModelCheckpoint> checkpoints)
Setter for checkpoints.
checkpoints: The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
-
checkpoints
@CanIgnoreReturnValue() TunedModel.Builder checkpoints(Array<TunedModelCheckpoint> checkpoints)
Setter for checkpoints.
checkpoints: The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
-
checkpoints
@CanIgnoreReturnValue() TunedModel.Builder checkpoints(Array<TunedModelCheckpoint.Builder> checkpointsBuilders)
Setter for checkpoints builder.
checkpoints: The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.
-
clearCheckpoints
@CanIgnoreReturnValue() TunedModel.Builder clearCheckpoints()
Clears the value of checkpoints field.
-
build
abstract TunedModel build()
-
-
-
-