Package com.google.genai.types
Class TuningJobMetadata
-
- All Implemented Interfaces:
public abstract class TuningJobMetadata extends JsonSerializable
Tuning job metadata. This data type is not supported in Gemini API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classTuningJobMetadata.BuilderBuilder for TuningJobMetadata.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description TuningJobMetadata()
-
Method Summary
Modifier and Type Method Description abstract Optional<Long>completedEpochCount()Output only. abstract Optional<Long>completedStepCount()Output only. static TuningJobMetadata.Builderbuilder()Instantiates a builder for TuningJobMetadata. abstract TuningJobMetadata.BuildertoBuilder()Creates a builder with the same values as this instance. static TuningJobMetadatafromJson(String jsonString)Deserializes a JSON string to a TuningJobMetadata 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
-
-
Method Detail
-
completedEpochCount
abstract Optional<Long> completedEpochCount()
Output only. The number of epochs that have been completed.
-
completedStepCount
abstract Optional<Long> completedStepCount()
Output only. The number of steps that have been completed. Set for Multi-Step RL.
-
builder
static TuningJobMetadata.Builder builder()
Instantiates a builder for TuningJobMetadata.
-
toBuilder
abstract TuningJobMetadata.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static TuningJobMetadata fromJson(String jsonString)
Deserializes a JSON string to a TuningJobMetadata object.
-
-
-
-