Package com.google.genai.types
Class TunedModelCheckpoint.Builder
-
- All Implemented Interfaces:
public abstract class TunedModelCheckpoint.BuilderBuilder for TunedModelCheckpoint.
-
-
Constructor Summary
Constructors Constructor Description TunedModelCheckpoint.Builder()
-
Method Summary
Modifier and Type Method Description abstract TunedModelCheckpoint.BuildercheckpointId(String checkpointId)Setter for checkpointId. TunedModelCheckpoint.BuilderclearCheckpointId()Clears the value of checkpointId field. abstract TunedModelCheckpoint.Builderepoch(Long epoch)Setter for epoch. TunedModelCheckpoint.BuilderclearEpoch()Clears the value of epoch field. abstract TunedModelCheckpoint.Builderstep(Long step)Setter for step. TunedModelCheckpoint.BuilderclearStep()Clears the value of step field. abstract TunedModelCheckpoint.Builderendpoint(String endpoint)Setter for endpoint. TunedModelCheckpoint.BuilderclearEndpoint()Clears the value of endpoint field. abstract TunedModelCheckpointbuild()-
-
Method Detail
-
checkpointId
abstract TunedModelCheckpoint.Builder checkpointId(String checkpointId)
Setter for checkpointId.
checkpointId: The ID of the checkpoint.
-
clearCheckpointId
@CanIgnoreReturnValue() TunedModelCheckpoint.Builder clearCheckpointId()
Clears the value of checkpointId field.
-
epoch
abstract TunedModelCheckpoint.Builder epoch(Long epoch)
Setter for epoch.
epoch: The epoch of the checkpoint.
-
clearEpoch
@CanIgnoreReturnValue() TunedModelCheckpoint.Builder clearEpoch()
Clears the value of epoch field.
-
step
abstract TunedModelCheckpoint.Builder step(Long step)
Setter for step.
step: The step of the checkpoint.
-
clearStep
@CanIgnoreReturnValue() TunedModelCheckpoint.Builder clearStep()
Clears the value of step field.
-
endpoint
abstract TunedModelCheckpoint.Builder endpoint(String endpoint)
Setter for endpoint.
endpoint: The Endpoint resource name that the checkpoint is deployed to. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
-
clearEndpoint
@CanIgnoreReturnValue() TunedModelCheckpoint.Builder clearEndpoint()
Clears the value of endpoint field.
-
build
abstract TunedModelCheckpoint build()
-
-
-
-