Package com.google.genai.types
Class ReplayResponse.Builder
-
- All Implemented Interfaces:
public abstract class ReplayResponse.BuilderBuilder for ReplayResponse.
-
-
Constructor Summary
Constructors Constructor Description ReplayResponse.Builder()
-
Method Summary
Modifier and Type Method Description abstract ReplayResponse.BuilderstatusCode(Integer statusCode)Setter for statusCode. ReplayResponse.BuilderclearStatusCode()Clears the value of statusCode field. abstract ReplayResponse.Builderheaders(Map<String, String> headers)Setter for headers. ReplayResponse.BuilderclearHeaders()Clears the value of headers field. abstract ReplayResponse.BuilderbodySegments(List<Map<String, Object>> bodySegments)Setter for bodySegments. ReplayResponse.BuilderbodySegments(Array<Map<String, Object>> bodySegments)Setter for bodySegments. ReplayResponse.BuilderclearBodySegments()Clears the value of bodySegments field. abstract ReplayResponse.BuildersdkResponseSegments(List<Map<String, Object>> sdkResponseSegments)Setter for sdkResponseSegments. ReplayResponse.BuildersdkResponseSegments(Array<Map<String, Object>> sdkResponseSegments)Setter for sdkResponseSegments. ReplayResponse.BuilderclearSdkResponseSegments()Clears the value of sdkResponseSegments field. abstract ReplayResponsebuild()-
-
Method Detail
-
statusCode
abstract ReplayResponse.Builder statusCode(Integer statusCode)
Setter for statusCode.
statusCode:
-
clearStatusCode
@CanIgnoreReturnValue() ReplayResponse.Builder clearStatusCode()
Clears the value of statusCode field.
-
headers
abstract ReplayResponse.Builder headers(Map<String, String> headers)
Setter for headers.
headers:
-
clearHeaders
@CanIgnoreReturnValue() ReplayResponse.Builder clearHeaders()
Clears the value of headers field.
-
bodySegments
abstract ReplayResponse.Builder bodySegments(List<Map<String, Object>> bodySegments)
Setter for bodySegments.
bodySegments:
-
bodySegments
@CanIgnoreReturnValue() ReplayResponse.Builder bodySegments(Array<Map<String, Object>> bodySegments)
Setter for bodySegments.
bodySegments:
-
clearBodySegments
@CanIgnoreReturnValue() ReplayResponse.Builder clearBodySegments()
Clears the value of bodySegments field.
-
sdkResponseSegments
abstract ReplayResponse.Builder sdkResponseSegments(List<Map<String, Object>> sdkResponseSegments)
Setter for sdkResponseSegments.
sdkResponseSegments:
-
sdkResponseSegments
@CanIgnoreReturnValue() ReplayResponse.Builder sdkResponseSegments(Array<Map<String, Object>> sdkResponseSegments)
Setter for sdkResponseSegments.
sdkResponseSegments:
-
clearSdkResponseSegments
@CanIgnoreReturnValue() ReplayResponse.Builder clearSdkResponseSegments()
Clears the value of sdkResponseSegments field.
-
build
abstract ReplayResponse build()
-
-
-
-