Interface SearchKnowledgeRequest.SearchConfigOrBuilder (4.66.0)

public static interface SearchKnowledgeRequest.SearchConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoostSpecs(int index)

public abstract SearchKnowledgeRequest.SearchConfig.BoostSpecs getBoostSpecs(int index)

Optional. Boost specifications for data stores.

Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.

repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SearchKnowledgeRequest.SearchConfig.BoostSpecs

getBoostSpecsCount()

public abstract int getBoostSpecsCount()

Optional. Boost specifications for data stores.

Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.

repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getBoostSpecsList()

public abstract List<SearchKnowledgeRequest.SearchConfig.BoostSpecs> getBoostSpecsList()

Optional. Boost specifications for data stores.

Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.

repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<BoostSpecs>

getBoostSpecsOrBuilder(int index)

public abstract SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder getBoostSpecsOrBuilder(int index)

Optional. Boost specifications for data stores.

Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.

repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder

getBoostSpecsOrBuilderList()

public abstract List<? extends SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder> getBoostSpecsOrBuilderList()

Optional. Boost specifications for data stores.

Maps from datastore name to their boost configuration. Do not specify more than one BoostSpecs for each datastore name. If multiple BoostSpecs are provided for the same datastore name, the behavior is undefined.

repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs boost_specs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecsOrBuilder>

getFilterSpecs(int index)

public abstract SearchKnowledgeRequest.SearchConfig.FilterSpecs getFilterSpecs(int index)

Optional. Filter specification for data store queries.

TMaps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.

repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SearchKnowledgeRequest.SearchConfig.FilterSpecs

getFilterSpecsCount()

public abstract int getFilterSpecsCount()

Optional. Filter specification for data store queries.

TMaps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.

repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getFilterSpecsList()

public abstract List<SearchKnowledgeRequest.SearchConfig.FilterSpecs> getFilterSpecsList()

Optional. Filter specification for data store queries.

TMaps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.

repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<FilterSpecs>

getFilterSpecsOrBuilder(int index)

public abstract SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder getFilterSpecsOrBuilder(int index)

Optional. Filter specification for data store queries.

TMaps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.

repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder

getFilterSpecsOrBuilderList()

public abstract List<? extends SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder> getFilterSpecsOrBuilderList()

Optional. Filter specification for data store queries.

TMaps from datastore name to the filter expression for that datastore. Do not specify more than one FilterSpecs for each datastore name. If multiple FilterSpecs are provided for the same datastore name, the behavior is undefined.

repeated .google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecs filter_specs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.FilterSpecsOrBuilder>