public interface QueryDataRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContext()
public abstract QueryDataContext getContext()Required. The context for the data query, including the data sources to use.
.google.cloud.geminidataanalytics.v1beta.QueryDataContext context = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QueryDataContext |
The context. |
getContextOrBuilder()
public abstract QueryDataContextOrBuilder getContextOrBuilder()Required. The context for the data query, including the data sources to use.
.google.cloud.geminidataanalytics.v1beta.QueryDataContext context = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QueryDataContextOrBuilder |
|
getGenerationOptions()
public abstract GenerationOptions getGenerationOptions()Optional. Options to control query generation and execution behavior.
.google.cloud.geminidataanalytics.v1beta.GenerationOptions generation_options = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerationOptions |
The generationOptions. |
getGenerationOptionsOrBuilder()
public abstract GenerationOptionsOrBuilder getGenerationOptionsOrBuilder()Optional. Options to control query generation and execution behavior.
.google.cloud.geminidataanalytics.v1beta.GenerationOptions generation_options = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerationOptionsOrBuilder |
|
getParent()
public abstract String getParent()Required. The parent resource to generate the query for. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()Required. The parent resource to generate the query for. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getPrompt()
public abstract String getPrompt()Required. The natural language query for which to generate query. Example: "What are the top 5 best selling products this month?"
string prompt = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The prompt. |
getPromptBytes()
public abstract ByteString getPromptBytes()Required. The natural language query for which to generate query. Example: "What are the top 5 best selling products this month?"
string prompt = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for prompt. |
hasContext()
public abstract boolean hasContext()Required. The context for the data query, including the data sources to use.
.google.cloud.geminidataanalytics.v1beta.QueryDataContext context = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the context field is set. |
hasGenerationOptions()
public abstract boolean hasGenerationOptions()Optional. Options to control query generation and execution behavior.
.google.cloud.geminidataanalytics.v1beta.GenerationOptions generation_options = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the generationOptions field is set. |