Class TuningJobMetadata

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

public abstract class TuningJobMetadata extends JsonSerializable
Tuning job metadata. This data type is not supported in Gemini API.
  • Constructor Details

    • TuningJobMetadata

      public TuningJobMetadata()
  • Method Details

    • completedEpochCount

      public abstract Optional<Long> completedEpochCount()
      Output only. The number of epochs that have been completed.
    • completedStepCount

      public abstract Optional<Long> completedStepCount()
      Output only. The number of steps that have been completed. Set for Multi-Step RL.
    • builder

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

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

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