Package com.google.genai.types
Class ReplayRequest
-
- All Implemented Interfaces:
public abstract class ReplayRequest extends JsonSerializable
Represents a single request in a replay.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classReplayRequest.BuilderBuilder for ReplayRequest.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description ReplayRequest()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>method()abstract Optional<String>url()abstract Optional<Map<String, String>>headers()abstract Optional<List<Map<String, Object>>>bodySegments()static ReplayRequest.Builderbuilder()Instantiates a builder for ReplayRequest. abstract ReplayRequest.BuildertoBuilder()Creates a builder with the same values as this instance. static ReplayRequestfromJson(String jsonString)Deserializes a JSON string to a ReplayRequest 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
-
builder
static ReplayRequest.Builder builder()
Instantiates a builder for ReplayRequest.
-
toBuilder
abstract ReplayRequest.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static ReplayRequest fromJson(String jsonString)
Deserializes a JSON string to a ReplayRequest object.
-
-
-
-