public static class AiStudioAgentTextGenResponse.Builder extends NullableFieldTracker
| Modifier and Type | Field and Description |
|---|---|
protected String |
accessState |
protected AiStudioAgentBasicGenToolResponse |
basicGen |
protected String |
customInstructions |
protected String |
description |
protected List<String> |
suggestedQuestions |
protected EnumWrapper<AiStudioAgentTextGenResponseTypeField> |
type |
explicitlySetNullableFields| Constructor and Description |
|---|
Builder(String accessState,
String description) |
| Modifier and Type | Method and Description |
|---|---|
AiStudioAgentTextGenResponse.Builder |
basicGen(AiStudioAgentBasicGenToolResponse basicGen) |
AiStudioAgentTextGenResponse |
build() |
AiStudioAgentTextGenResponse.Builder |
customInstructions(String customInstructions) |
AiStudioAgentTextGenResponse.Builder |
suggestedQuestions(List<String> suggestedQuestions) |
AiStudioAgentTextGenResponse.Builder |
type(AiStudioAgentTextGenResponseTypeField type) |
AiStudioAgentTextGenResponse.Builder |
type(EnumWrapper<AiStudioAgentTextGenResponseTypeField> type) |
getExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<AiStudioAgentTextGenResponseTypeField> type
protected final String accessState
protected final String description
protected String customInstructions
protected List<String> suggestedQuestions
protected AiStudioAgentBasicGenToolResponse basicGen
public AiStudioAgentTextGenResponse.Builder type(AiStudioAgentTextGenResponseTypeField type)
public AiStudioAgentTextGenResponse.Builder type(EnumWrapper<AiStudioAgentTextGenResponseTypeField> type)
public AiStudioAgentTextGenResponse.Builder customInstructions(String customInstructions)
public AiStudioAgentTextGenResponse.Builder suggestedQuestions(List<String> suggestedQuestions)
public AiStudioAgentTextGenResponse.Builder basicGen(AiStudioAgentBasicGenToolResponse basicGen)
public AiStudioAgentTextGenResponse build()