Package com.google.genai.types
Class ReplayRequest.Builder
-
- All Implemented Interfaces:
public abstract class ReplayRequest.BuilderBuilder for ReplayRequest.
-
-
Constructor Summary
Constructors Constructor Description ReplayRequest.Builder()
-
Method Summary
Modifier and Type Method Description abstract ReplayRequest.Buildermethod(String method)Setter for method. ReplayRequest.BuilderclearMethod()Clears the value of method field. abstract ReplayRequest.Builderurl(String url)Setter for url. ReplayRequest.BuilderclearUrl()Clears the value of url field. abstract ReplayRequest.Builderheaders(Map<String, String> headers)Setter for headers. ReplayRequest.BuilderclearHeaders()Clears the value of headers field. abstract ReplayRequest.BuilderbodySegments(List<Map<String, Object>> bodySegments)Setter for bodySegments. ReplayRequest.BuilderbodySegments(Array<Map<String, Object>> bodySegments)Setter for bodySegments. ReplayRequest.BuilderclearBodySegments()Clears the value of bodySegments field. abstract ReplayRequestbuild()-
-
Method Detail
-
method
abstract ReplayRequest.Builder method(String method)
Setter for method.
method:
-
clearMethod
@CanIgnoreReturnValue() ReplayRequest.Builder clearMethod()
Clears the value of method field.
-
url
abstract ReplayRequest.Builder url(String url)
Setter for url.
url:
-
clearUrl
@CanIgnoreReturnValue() ReplayRequest.Builder clearUrl()
Clears the value of url field.
-
headers
abstract ReplayRequest.Builder headers(Map<String, String> headers)
Setter for headers.
headers:
-
clearHeaders
@CanIgnoreReturnValue() ReplayRequest.Builder clearHeaders()
Clears the value of headers field.
-
bodySegments
abstract ReplayRequest.Builder bodySegments(List<Map<String, Object>> bodySegments)
Setter for bodySegments.
bodySegments:
-
bodySegments
@CanIgnoreReturnValue() ReplayRequest.Builder bodySegments(Array<Map<String, Object>> bodySegments)
Setter for bodySegments.
bodySegments:
-
clearBodySegments
@CanIgnoreReturnValue() ReplayRequest.Builder clearBodySegments()
Clears the value of bodySegments field.
-
build
abstract ReplayRequest build()
-
-
-
-