Package com.google.genai.types
Class Checkpoint.Builder
-
- All Implemented Interfaces:
public abstract class Checkpoint.BuilderBuilder for Checkpoint.
-
-
Constructor Summary
Constructors Constructor Description Checkpoint.Builder()
-
Method Summary
Modifier and Type Method Description abstract Checkpoint.BuildercheckpointId(String checkpointId)Setter for checkpointId. Checkpoint.BuilderclearCheckpointId()Clears the value of checkpointId field. abstract Checkpoint.Builderepoch(Long epoch)Setter for epoch. Checkpoint.BuilderclearEpoch()Clears the value of epoch field. abstract Checkpoint.Builderstep(Long step)Setter for step. Checkpoint.BuilderclearStep()Clears the value of step field. abstract Checkpointbuild()-
-
Method Detail
-
checkpointId
abstract Checkpoint.Builder checkpointId(String checkpointId)
Setter for checkpointId.
checkpointId: The ID of the checkpoint.
-
clearCheckpointId
@CanIgnoreReturnValue() Checkpoint.Builder clearCheckpointId()
Clears the value of checkpointId field.
-
epoch
abstract Checkpoint.Builder epoch(Long epoch)
Setter for epoch.
epoch: The epoch of the checkpoint.
-
clearEpoch
@CanIgnoreReturnValue() Checkpoint.Builder clearEpoch()
Clears the value of epoch field.
-
step
abstract Checkpoint.Builder step(Long step)
Setter for step.
step: The step of the checkpoint.
-
clearStep
@CanIgnoreReturnValue() Checkpoint.Builder clearStep()
Clears the value of step field.
-
build
abstract Checkpoint build()
-
-
-
-