Class Checkpoint

  • All Implemented Interfaces:

    
    public abstract class Checkpoint
    extends JsonSerializable
                        

    Describes the machine learning model version checkpoint.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public abstract class Checkpoint.Builder

      Builder for Checkpoint.

    • Constructor Summary

      Constructors 
      Constructor Description
      Checkpoint()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Optional<String> checkpointId() The ID of the checkpoint.
      abstract Optional<Long> epoch() The epoch of the checkpoint.
      abstract Optional<Long> step() The step of the checkpoint.
      static Checkpoint.Builder builder() Instantiates a builder for Checkpoint.
      abstract Checkpoint.Builder toBuilder() Creates a builder with the same values as this instance.
      static Checkpoint fromJson(String jsonString) Deserializes a JSON string to a Checkpoint object.
      • Methods inherited from class com.google.genai.JsonSerializable

        fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait