Class TunedModelCheckpoint

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.TunedModelCheckpoint

public abstract class TunedModelCheckpoint extends JsonSerializable
TunedModelCheckpoint for the Tuned Model of a Tuning Job.
  • Constructor Details

    • TunedModelCheckpoint

      public TunedModelCheckpoint()
  • Method Details

    • checkpointId

      public abstract Optional<String> checkpointId()
      The ID of the checkpoint.
    • epoch

      public abstract Optional<Long> epoch()
      The epoch of the checkpoint.
    • step

      public abstract Optional<Long> step()
      The step of the checkpoint.
    • endpoint

      public abstract Optional<String> endpoint()
      The Endpoint resource name that the checkpoint is deployed to. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
    • builder

      public static TunedModelCheckpoint.Builder builder()
      Instantiates a builder for TunedModelCheckpoint.
    • toBuilder

      public abstract TunedModelCheckpoint.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static TunedModelCheckpoint fromJson(String jsonString)
      Deserializes a JSON string to a TunedModelCheckpoint object.