Builder
Builder for GenerateContentResponse.
Functions
Link copied to clipboard
@CanIgnoreReturnValue()
public abstract GenerateContentResponse.Builder automaticFunctionCallingHistory(List<Content> automaticFunctionCallingHistory)
Setter for automaticFunctionCallingHistory.
@CanIgnoreReturnValue()
Setter for automaticFunctionCallingHistory builder.
Link copied to clipboard
Link copied to clipboard
@CanIgnoreReturnValue()
Setter for candidates.
@CanIgnoreReturnValue()
Setter for candidates builder.
Link copied to clipboard
@CanIgnoreReturnValue()
Clears the value of automaticFunctionCallingHistory field.
Link copied to clipboard
Clears the value of candidates field.
Link copied to clipboard
Clears the value of createTime field.
Link copied to clipboard
Clears the value of modelStatus field.
Link copied to clipboard
Clears the value of modelVersion field.
Link copied to clipboard
Clears the value of promptFeedback field.
Link copied to clipboard
Clears the value of responseId field.
Link copied to clipboard
Clears the value of sdkHttpResponse field.
Link copied to clipboard
Clears the value of usageMetadata field.
Link copied to clipboard
Setter for createTime.
Link copied to clipboard
Setter for modelStatus.
@CanIgnoreReturnValue()
Setter for modelStatus builder.
Link copied to clipboard
Setter for modelVersion.
Link copied to clipboard
public abstract GenerateContentResponse.Builder promptFeedback(GenerateContentResponsePromptFeedback promptFeedback)
Setter for promptFeedback.
@CanIgnoreReturnValue()
Setter for promptFeedback builder.
Link copied to clipboard
Setter for responseId.
Link copied to clipboard
Setter for sdkHttpResponse.
@CanIgnoreReturnValue()
Setter for sdkHttpResponse builder.
Link copied to clipboard
public abstract GenerateContentResponse.Builder usageMetadata(GenerateContentResponseUsageMetadata usageMetadata)
Setter for usageMetadata.
@CanIgnoreReturnValue()
Setter for usageMetadata builder.