Package com.google.genai.types
Class ReplayFile
-
- All Implemented Interfaces:
public abstract class ReplayFile extends JsonSerializable
Represents a recorded session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classReplayFile.BuilderBuilder for ReplayFile.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description ReplayFile()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>replayId()abstract Optional<List<ReplayInteraction>>interactions()static ReplayFile.Builderbuilder()Instantiates a builder for ReplayFile. abstract ReplayFile.BuildertoBuilder()Creates a builder with the same values as this instance. static ReplayFilefromJson(String jsonString)Deserializes a JSON string to a ReplayFile 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
-
interactions
abstract Optional<List<ReplayInteraction>> interactions()
-
builder
static ReplayFile.Builder builder()
Instantiates a builder for ReplayFile.
-
toBuilder
abstract ReplayFile.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static ReplayFile fromJson(String jsonString)
Deserializes a JSON string to a ReplayFile object.
-
-
-
-