public interface ContextOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDatasourceReferences()
public abstract DatasourceReferences getDatasourceReferences()
Required. Data sources that are available for answering the question.
.google.cloud.geminidataanalytics.v1beta.DatasourceReferences datasource_references = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DatasourceReferences |
The datasourceReferences. |
getDatasourceReferencesOrBuilder()
public abstract DatasourceReferencesOrBuilder getDatasourceReferencesOrBuilder()
Required. Data sources that are available for answering the question.
.google.cloud.geminidataanalytics.v1beta.DatasourceReferences datasource_references = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DatasourceReferencesOrBuilder |
getExampleQueries(int index)
public abstract ExampleQuery getExampleQueries(int index)
Optional. A list of example queries, providing examples of relevant and commonly used SQL queries and their corresponding natural language queries optionally present.
repeated .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_queries = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ExampleQuery |
getExampleQueriesCount()
public abstract int getExampleQueriesCount()
Optional. A list of example queries, providing examples of relevant and commonly used SQL queries and their corresponding natural language queries optionally present.
repeated .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_queries = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getExampleQueriesList()
public abstract List<ExampleQuery> getExampleQueriesList()
Optional. A list of example queries, providing examples of relevant and commonly used SQL queries and their corresponding natural language queries optionally present.
repeated .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_queries = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<ExampleQuery> |
getExampleQueriesOrBuilder(int index)
public abstract ExampleQueryOrBuilder getExampleQueriesOrBuilder(int index)
Optional. A list of example queries, providing examples of relevant and commonly used SQL queries and their corresponding natural language queries optionally present.
repeated .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_queries = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ExampleQueryOrBuilder |
getExampleQueriesOrBuilderList()
public abstract List<? extends ExampleQueryOrBuilder> getExampleQueriesOrBuilderList()
Optional. A list of example queries, providing examples of relevant and commonly used SQL queries and their corresponding natural language queries optionally present.
repeated .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_queries = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.ExampleQueryOrBuilder> |
getOptions()
public abstract ConversationOptions getOptions()
Optional. Additional options for the conversation.
.google.cloud.geminidataanalytics.v1beta.ConversationOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConversationOptions |
The options. |
getOptionsOrBuilder()
public abstract ConversationOptionsOrBuilder getOptionsOrBuilder()
Optional. Additional options for the conversation.
.google.cloud.geminidataanalytics.v1beta.ConversationOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConversationOptionsOrBuilder |
getSystemInstruction()
public abstract String getSystemInstruction()
Optional. The basic entry point for data owners creating domain knowledge for Agent.
Why: Business jargon (e.g., YTD revenue is calculated as…, Retirement Age is 65 in the USA, etc) and system instructions (e.g., answer like a Pirate) can help the model understand the business context around a user question.
string system_instruction = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The systemInstruction. |
getSystemInstructionBytes()
public abstract ByteString getSystemInstructionBytes()
Optional. The basic entry point for data owners creating domain knowledge for Agent.
Why: Business jargon (e.g., YTD revenue is calculated as…, Retirement Age is 65 in the USA, etc) and system instructions (e.g., answer like a Pirate) can help the model understand the business context around a user question.
string system_instruction = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for systemInstruction. |
hasDatasourceReferences()
public abstract boolean hasDatasourceReferences()
Required. Data sources that are available for answering the question.
.google.cloud.geminidataanalytics.v1beta.DatasourceReferences datasource_references = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the datasourceReferences field is set. |
hasOptions()
public abstract boolean hasOptions()
Optional. Additional options for the conversation.
.google.cloud.geminidataanalytics.v1beta.ConversationOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the options field is set. |