- 4.84.0 (latest)
 - 4.82.0
 - 4.81.0
 - 4.80.0
 - 4.79.0
 - 4.78.0
 - 4.76.0
 - 4.74.0
 - 4.73.0
 - 4.70.0
 - 4.69.0
 - 4.68.0
 - 4.66.0
 - 4.65.0
 - 4.64.0
 - 4.63.0
 - 4.62.0
 - 4.61.0
 - 4.60.0
 - 4.59.0
 - 4.58.0
 - 4.57.0
 - 4.55.0
 - 4.54.0
 - 4.53.0
 - 4.52.0
 - 4.51.0
 - 4.50.0
 - 4.49.0
 - 4.48.0
 - 4.47.0
 - 4.46.0
 - 4.45.0
 - 4.43.0
 - 4.42.0
 - 4.41.0
 - 4.40.0
 - 4.39.0
 - 4.38.0
 - 4.37.0
 - 4.36.0
 - 4.35.0
 - 4.34.0
 - 4.33.0
 - 4.30.0
 - 4.29.0
 - 4.28.0
 - 4.27.0
 - 4.26.0
 - 4.25.0
 - 4.24.0
 - 4.23.0
 - 4.22.0
 - 4.21.0
 - 4.20.0
 - 4.19.0
 - 4.18.0
 - 4.17.0
 - 4.15.0
 - 4.14.0
 - 4.13.0
 - 4.12.0
 - 4.11.0
 - 4.10.0
 - 4.9.1
 - 4.8.6
 - 4.7.5
 - 4.6.0
 - 4.5.11
 - 4.4.0
 - 4.3.1
 
public static final class SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder extends GeneratedMessageV3.Builder<SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder> implements SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilderFilter specification for data store queries.
 Protobuf type 
 google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig.FilterSpecs
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SearchKnowledgeRequest.SearchConfig.FilterSpecs.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllDataStores(Iterable<String> values)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder addAllDataStores(Iterable<String> values)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 | 
values | 
        Iterable<String>The dataStores to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        This builder for chaining.  | 
      
addDataStores(String value)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder addDataStores(String value)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 | 
value | 
        StringThe dataStores to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        This builder for chaining.  | 
      
addDataStoresBytes(ByteString value)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder addDataStoresBytes(ByteString value)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 | 
value | 
        ByteStringThe bytes of the dataStores to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |
build()
public SearchKnowledgeRequest.SearchConfig.FilterSpecs build()| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs | 
        |
buildPartial()
public SearchKnowledgeRequest.SearchConfig.FilterSpecs buildPartial()| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs | 
        |
clear()
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder clear()| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |
clearDataStores()
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder clearDataStores()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 | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |
clearFilter()
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder clearFilter()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 | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |
clone()
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder clone()| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |
getDataStores(int index)
public 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 | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        The dataStores at the given index.  | 
      
getDataStoresBytes(int index)
public 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 | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes of the dataStores at the given index.  | 
      
getDataStoresCount()
public 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 ProtocolStringList 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 | 
ProtocolStringList | 
        A list containing the dataStores.  | 
      
getDefaultInstanceForType()
public SearchKnowledgeRequest.SearchConfig.FilterSpecs getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getFilter()
public 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 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.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(SearchKnowledgeRequest.SearchConfig.FilterSpecs other)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder mergeFrom(SearchKnowledgeRequest.SearchConfig.FilterSpecs other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        SearchKnowledgeRequest.SearchConfig.FilterSpecs | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |
setDataStores(int index, String value)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder setDataStores(int index, String value)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 | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        StringThe dataStores to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |
setFilter(String value)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder setFilter(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe filter to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        This builder for chaining.  | 
      
setFilterBytes(ByteString value)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder setFilterBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for filter to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
SearchKnowledgeRequest.SearchConfig.FilterSpecs.Builder | 
        |