Package com.google.cloud.dialogflow.v2
Interface SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchKnowledgeRequest.SearchConfig.FilterSpecs,SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder
- Enclosing class:
- SearchKnowledgeRequest.SearchConfig
public static interface SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDataStores(int index) Optional.com.google.protobuf.ByteStringgetDataStoresBytes(int index) Optional.intOptional.Optional.Optional.com.google.protobuf.ByteStringOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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:
- A list containing the dataStores.
-
getDataStoresCount
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:
- The count of dataStores.
-
getDataStores
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];- Parameters:
index- The index of the element to return.- Returns:
- The dataStores at the given index.
-
getDataStoresBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dataStores at the given index.
-
getFilter
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:
- The filter.
-
getFilterBytes
com.google.protobuf.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:
- The bytes for filter.
-