public interface DataQueryOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDatasources(int index)
public abstract Datasource getDatasources(int index)
Optional. The datasources available to answer the question.
repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Datasource |
getDatasourcesCount()
public abstract int getDatasourcesCount()
Optional. The datasources available to answer the question.
repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getDatasourcesList()
public abstract List<Datasource> getDatasourcesList()
Optional. The datasources available to answer the question.
repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Datasource> |
getDatasourcesOrBuilder(int index)
public abstract DatasourceOrBuilder getDatasourcesOrBuilder(int index)
Optional. The datasources available to answer the question.
repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
DatasourceOrBuilder |
getDatasourcesOrBuilderList()
public abstract List<? extends DatasourceOrBuilder> getDatasourcesOrBuilderList()
Optional. The datasources available to answer the question.
repeated .google.cloud.geminidataanalytics.v1beta.Datasource datasources = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.DatasourceOrBuilder> |
getName()
public abstract String getName()
Optional. A snake-case name for the query that reflects its intent. It is used to name the corresponding data result, so that it can be referenced in later steps.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Optional. A snake-case name for the query that reflects its intent. It is used to name the corresponding data result, so that it can be referenced in later steps.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getQuestion()
public abstract String getQuestion()
Optional. A natural language question to answer.
string question = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The question. |
getQuestionBytes()
public abstract ByteString getQuestionBytes()
Optional. A natural language question to answer.
string question = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for question. |