public static interface DataStoreTool.EngineSourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDataStoreSources(int index)
public abstract DataStoreTool.DataStoreSource getDataStoreSources(int index)Optional. Use to target specific DataStores within the Engine. If empty, the search applies to all DataStores associated with the Engine.
repeated .google.cloud.ces.v1.DataStoreTool.DataStoreSource data_store_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.DataStoreSource |
|
getDataStoreSourcesCount()
public abstract int getDataStoreSourcesCount()Optional. Use to target specific DataStores within the Engine. If empty, the search applies to all DataStores associated with the Engine.
repeated .google.cloud.ces.v1.DataStoreTool.DataStoreSource data_store_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getDataStoreSourcesList()
public abstract List<DataStoreTool.DataStoreSource> getDataStoreSourcesList()Optional. Use to target specific DataStores within the Engine. If empty, the search applies to all DataStores associated with the Engine.
repeated .google.cloud.ces.v1.DataStoreTool.DataStoreSource data_store_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<DataStoreSource> |
|
getDataStoreSourcesOrBuilder(int index)
public abstract DataStoreTool.DataStoreSourceOrBuilder getDataStoreSourcesOrBuilder(int index)Optional. Use to target specific DataStores within the Engine. If empty, the search applies to all DataStores associated with the Engine.
repeated .google.cloud.ces.v1.DataStoreTool.DataStoreSource data_store_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataStoreTool.DataStoreSourceOrBuilder |
|
getDataStoreSourcesOrBuilderList()
public abstract List<? extends DataStoreTool.DataStoreSourceOrBuilder> getDataStoreSourcesOrBuilderList()Optional. Use to target specific DataStores within the Engine. If empty, the search applies to all DataStores associated with the Engine.
repeated .google.cloud.ces.v1.DataStoreTool.DataStoreSource data_store_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.ces.v1.DataStoreTool.DataStoreSourceOrBuilder> |
|
getEngine()
public abstract String getEngine() Required. Full resource name of the Engine.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string engine = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The engine. |
getEngineBytes()
public abstract ByteString getEngineBytes() Required. Full resource name of the Engine.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}
string engine = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for engine. |
getFilter()
public abstract String getFilter()Optional. A filter applied to the search across the Engine. Not relevant and not used if 'data_store_sources' is provided. See: https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public abstract ByteString getFilterBytes()Optional. A filter applied to the search across the Engine. Not relevant and not used if 'data_store_sources' is provided. See: https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |