public interface GenerationOptionsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getGenerateDisambiguationQuestion()
public abstract boolean getGenerateDisambiguationQuestion()Optional. If true (default to false), the service may return a clarifying_question if the input query is ambiguous.
bool generate_disambiguation_question = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The generateDisambiguationQuestion. |
getGenerateExplanation()
public abstract boolean getGenerateExplanation()Optional. If true, an explanation of the generated query will be returned in the response.
bool generate_explanation = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The generateExplanation. |
getGenerateNaturalLanguageAnswer()
public abstract boolean getGenerateNaturalLanguageAnswer()Optional. If true, a natural language answer based on the query execution result will be generated and returned in the response.
bool generate_natural_language_answer = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The generateNaturalLanguageAnswer. |
getGenerateQueryResult()
public abstract boolean getGenerateQueryResult()Optional. If true, the generated query will be executed, and the result data will be returned in the response.
bool generate_query_result = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The generateQueryResult. |