Interface SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder (4.60.0)

public static interface SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataStores(int index)

public abstract String getDataStores(int index)

Optional. The data store where the filter configuration is applied. Full resource name of data store, such as projects/{project}/locations/{location}/collections/{collectionId}/ dataStores/{dataStoreId}.

repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The dataStores at the given index.

getDataStoresBytes(int index)

public abstract ByteString getDataStoresBytes(int index)

Optional. The data store where the filter configuration is applied. Full resource name of data store, such as projects/{project}/locations/{location}/collections/{collectionId}/ dataStores/{dataStoreId}.

repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the dataStores at the given index.

getDataStoresCount()

public abstract int getDataStoresCount()

Optional. The data store where the filter configuration is applied. Full resource name of data store, such as projects/{project}/locations/{location}/collections/{collectionId}/ dataStores/{dataStoreId}.

repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of dataStores.

getDataStoresList()

public abstract List<String> getDataStoresList()

Optional. The data store where the filter configuration is applied. Full resource name of data store, such as projects/{project}/locations/{location}/collections/{collectionId}/ dataStores/{dataStoreId}.

repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the dataStores.

getFilter()

public abstract String getFilter()

Optional. The filter expression to be applied. Expression syntax is documented at https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public abstract ByteString getFilterBytes()

Optional. The filter expression to be applied. Expression syntax is documented at https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.