Class AnswerQueryRequest.SearchSpec.SearchParams.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AnswerQueryRequest.SearchSpec.SearchParams.Builder>
com.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchParams.Builder
- All Implemented Interfaces:
AnswerQueryRequest.SearchSpec.SearchParamsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnswerQueryRequest.SearchSpec.SearchParams
public static final class AnswerQueryRequest.SearchSpec.SearchParams.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AnswerQueryRequest.SearchSpec.SearchParams.Builder>
implements AnswerQueryRequest.SearchSpec.SearchParamsOrBuilder
Search parameters.Protobuf type
google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchParams-
Method Summary
Modifier and TypeMethodDescriptionaddAllDataStoreSpecs(Iterable<? extends SearchRequest.DataStoreSpec> values) Specs defining dataStores to filter on in a search call and configurations for those dataStores.addDataStoreSpecs(int index, SearchRequest.DataStoreSpec value) Specs defining dataStores to filter on in a search call and configurations for those dataStores.addDataStoreSpecs(int index, SearchRequest.DataStoreSpec.Builder builderForValue) Specs defining dataStores to filter on in a search call and configurations for those dataStores.Specs defining dataStores to filter on in a search call and configurations for those dataStores.addDataStoreSpecs(SearchRequest.DataStoreSpec.Builder builderForValue) Specs defining dataStores to filter on in a search call and configurations for those dataStores.Specs defining dataStores to filter on in a search call and configurations for those dataStores.addDataStoreSpecsBuilder(int index) Specs defining dataStores to filter on in a search call and configurations for those dataStores.build()clear()Boost specification to boost certain documents in search results which may affect the answer query response.Specs defining dataStores to filter on in a search call and configurations for those dataStores.The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered.Number of search results to return.Optional.The order in which documents are returned.Specifies the search result mode.Boost specification to boost certain documents in search results which may affect the answer query response.Boost specification to boost certain documents in search results which may affect the answer query response.Boost specification to boost certain documents in search results which may affect the answer query response.getDataStoreSpecs(int index) Specs defining dataStores to filter on in a search call and configurations for those dataStores.getDataStoreSpecsBuilder(int index) Specs defining dataStores to filter on in a search call and configurations for those dataStores.Specs defining dataStores to filter on in a search call and configurations for those dataStores.intSpecs defining dataStores to filter on in a search call and configurations for those dataStores.Specs defining dataStores to filter on in a search call and configurations for those dataStores.getDataStoreSpecsOrBuilder(int index) Specs defining dataStores to filter on in a search call and configurations for those dataStores.List<? extends SearchRequest.DataStoreSpecOrBuilder>Specs defining dataStores to filter on in a search call and configurations for those dataStores.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered.com.google.protobuf.ByteStringThe filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered.intNumber of search results to return.Optional.Optional.Optional.The order in which documents are returned.com.google.protobuf.ByteStringThe order in which documents are returned.Specifies the search result mode.intSpecifies the search result mode.booleanBoost specification to boost certain documents in search results which may affect the answer query response.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanBoost specification to boost certain documents in search results which may affect the answer query response.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeNaturalLanguageQueryUnderstandingSpec(SearchRequest.NaturalLanguageQueryUnderstandingSpec value) Optional.removeDataStoreSpecs(int index) Specs defining dataStores to filter on in a search call and configurations for those dataStores.Boost specification to boost certain documents in search results which may affect the answer query response.setBoostSpec(SearchRequest.BoostSpec.Builder builderForValue) Boost specification to boost certain documents in search results which may affect the answer query response.setDataStoreSpecs(int index, SearchRequest.DataStoreSpec value) Specs defining dataStores to filter on in a search call and configurations for those dataStores.setDataStoreSpecs(int index, SearchRequest.DataStoreSpec.Builder builderForValue) Specs defining dataStores to filter on in a search call and configurations for those dataStores.The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered.setFilterBytes(com.google.protobuf.ByteString value) The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered.setMaxReturnResults(int value) Number of search results to return.Optional.setNaturalLanguageQueryUnderstandingSpec(SearchRequest.NaturalLanguageQueryUnderstandingSpec.Builder builderForValue) Optional.setOrderBy(String value) The order in which documents are returned.setOrderByBytes(com.google.protobuf.ByteString value) The order in which documents are returned.Specifies the search result mode.setSearchResultModeValue(int value) Specifies the search result mode.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AnswerQueryRequest.SearchSpec.SearchParams.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AnswerQueryRequest.SearchSpec.SearchParams.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AnswerQueryRequest.SearchSpec.SearchParams.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AnswerQueryRequest.SearchSpec.SearchParams.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnswerQueryRequest.SearchSpec.SearchParams.Builder>
-
mergeFrom
public AnswerQueryRequest.SearchSpec.SearchParams.Builder mergeFrom(AnswerQueryRequest.SearchSpec.SearchParams other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AnswerQueryRequest.SearchSpec.SearchParams.Builder>
-
mergeFrom
public AnswerQueryRequest.SearchSpec.SearchParams.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnswerQueryRequest.SearchSpec.SearchParams.Builder>- Throws:
IOException
-
getMaxReturnResults
public int getMaxReturnResults()Number of search results to return. The default value is 10.
int32 max_return_results = 1;- Specified by:
getMaxReturnResultsin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder- Returns:
- The maxReturnResults.
-
setMaxReturnResults
Number of search results to return. The default value is 10.
int32 max_return_results = 1;- Parameters:
value- The maxReturnResults to set.- Returns:
- This builder for chaining.
-
clearMaxReturnResults
Number of search results to return. The default value is 10.
int32 max_return_results = 1;- Returns:
- This builder for chaining.
-
getFilter
The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)string filter = 2;- Specified by:
getFilterin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)string filter = 2;- Specified by:
getFilterBytesin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder- Returns:
- The bytes for filter.
-
setFilter
The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)string filter = 2;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)string filter = 2;- Returns:
- This builder for chaining.
-
setFilterBytes
public AnswerQueryRequest.SearchSpec.SearchParams.Builder setFilterBytes(com.google.protobuf.ByteString value) The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)string filter = 2;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
hasBoostSpec
public boolean hasBoostSpec()Boost specification to boost certain documents in search results which may affect the answer query response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 3;- Specified by:
hasBoostSpecin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder- Returns:
- Whether the boostSpec field is set.
-
getBoostSpec
Boost specification to boost certain documents in search results which may affect the answer query response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 3;- Specified by:
getBoostSpecin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder- Returns:
- The boostSpec.
-
setBoostSpec
public AnswerQueryRequest.SearchSpec.SearchParams.Builder setBoostSpec(SearchRequest.BoostSpec value) Boost specification to boost certain documents in search results which may affect the answer query response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 3; -
setBoostSpec
public AnswerQueryRequest.SearchSpec.SearchParams.Builder setBoostSpec(SearchRequest.BoostSpec.Builder builderForValue) Boost specification to boost certain documents in search results which may affect the answer query response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 3; -
mergeBoostSpec
public AnswerQueryRequest.SearchSpec.SearchParams.Builder mergeBoostSpec(SearchRequest.BoostSpec value) Boost specification to boost certain documents in search results which may affect the answer query response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 3; -
clearBoostSpec
Boost specification to boost certain documents in search results which may affect the answer query response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 3; -
getBoostSpecBuilder
Boost specification to boost certain documents in search results which may affect the answer query response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 3; -
getBoostSpecOrBuilder
Boost specification to boost certain documents in search results which may affect the answer query response. For more information on boosting, see [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec boost_spec = 3;- Specified by:
getBoostSpecOrBuilderin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder
-
getOrderBy
The order in which documents are returned. Documents can be ordered by a field in an [Document][google.cloud.discoveryengine.v1beta.Document] object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
string order_by = 4;- Specified by:
getOrderByin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder- Returns:
- The orderBy.
-
getOrderByBytes
public com.google.protobuf.ByteString getOrderByBytes()The order in which documents are returned. Documents can be ordered by a field in an [Document][google.cloud.discoveryengine.v1beta.Document] object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
string order_by = 4;- Specified by:
getOrderByBytesin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder- Returns:
- The bytes for orderBy.
-
setOrderBy
The order in which documents are returned. Documents can be ordered by a field in an [Document][google.cloud.discoveryengine.v1beta.Document] object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
string order_by = 4;- Parameters:
value- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
The order in which documents are returned. Documents can be ordered by a field in an [Document][google.cloud.discoveryengine.v1beta.Document] object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
string order_by = 4;- Returns:
- This builder for chaining.
-
setOrderByBytes
public AnswerQueryRequest.SearchSpec.SearchParams.Builder setOrderByBytes(com.google.protobuf.ByteString value) The order in which documents are returned. Documents can be ordered by a field in an [Document][google.cloud.discoveryengine.v1beta.Document] object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
string order_by = 4;- Parameters:
value- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-
getSearchResultModeValue
public int getSearchResultModeValue()Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode search_result_mode = 5;- Specified by:
getSearchResultModeValuein interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder- Returns:
- The enum numeric value on the wire for searchResultMode.
-
setSearchResultModeValue
Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode search_result_mode = 5;- Parameters:
value- The enum numeric value on the wire for searchResultMode to set.- Returns:
- This builder for chaining.
-
getSearchResultMode
Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode search_result_mode = 5;- Specified by:
getSearchResultModein interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder- Returns:
- The searchResultMode.
-
setSearchResultMode
public AnswerQueryRequest.SearchSpec.SearchParams.Builder setSearchResultMode(SearchRequest.ContentSearchSpec.SearchResultMode value) Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode search_result_mode = 5;- Parameters:
value- The searchResultMode to set.- Returns:
- This builder for chaining.
-
clearSearchResultMode
Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode search_result_mode = 5;- Returns:
- This builder for chaining.
-
getDataStoreSpecsList
Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7;- Specified by:
getDataStoreSpecsListin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder
-
getDataStoreSpecsCount
public int getDataStoreSpecsCount()Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7;- Specified by:
getDataStoreSpecsCountin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder
-
getDataStoreSpecs
Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7;- Specified by:
getDataStoreSpecsin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder
-
setDataStoreSpecs
public AnswerQueryRequest.SearchSpec.SearchParams.Builder setDataStoreSpecs(int index, SearchRequest.DataStoreSpec value) Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
setDataStoreSpecs
public AnswerQueryRequest.SearchSpec.SearchParams.Builder setDataStoreSpecs(int index, SearchRequest.DataStoreSpec.Builder builderForValue) Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
addDataStoreSpecs
public AnswerQueryRequest.SearchSpec.SearchParams.Builder addDataStoreSpecs(SearchRequest.DataStoreSpec value) Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
addDataStoreSpecs
public AnswerQueryRequest.SearchSpec.SearchParams.Builder addDataStoreSpecs(int index, SearchRequest.DataStoreSpec value) Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
addDataStoreSpecs
public AnswerQueryRequest.SearchSpec.SearchParams.Builder addDataStoreSpecs(SearchRequest.DataStoreSpec.Builder builderForValue) Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
addDataStoreSpecs
public AnswerQueryRequest.SearchSpec.SearchParams.Builder addDataStoreSpecs(int index, SearchRequest.DataStoreSpec.Builder builderForValue) Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
addAllDataStoreSpecs
public AnswerQueryRequest.SearchSpec.SearchParams.Builder addAllDataStoreSpecs(Iterable<? extends SearchRequest.DataStoreSpec> values) Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
clearDataStoreSpecs
Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
removeDataStoreSpecs
Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
getDataStoreSpecsBuilder
Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
getDataStoreSpecsOrBuilder
Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7;- Specified by:
getDataStoreSpecsOrBuilderin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder
-
getDataStoreSpecsOrBuilderList
Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7;- Specified by:
getDataStoreSpecsOrBuilderListin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder
-
addDataStoreSpecsBuilder
Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
addDataStoreSpecsBuilder
Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
getDataStoreSpecsBuilderList
Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.
repeated .google.cloud.discoveryengine.v1beta.SearchRequest.DataStoreSpec data_store_specs = 7; -
hasNaturalLanguageQueryUnderstandingSpec
public boolean hasNaturalLanguageQueryUnderstandingSpec()Optional. Specification to enable natural language understanding capabilities for search requests.
.google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec natural_language_query_understanding_spec = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasNaturalLanguageQueryUnderstandingSpecin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder- Returns:
- Whether the naturalLanguageQueryUnderstandingSpec field is set.
-
getNaturalLanguageQueryUnderstandingSpec
public SearchRequest.NaturalLanguageQueryUnderstandingSpec getNaturalLanguageQueryUnderstandingSpec()Optional. Specification to enable natural language understanding capabilities for search requests.
.google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec natural_language_query_understanding_spec = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNaturalLanguageQueryUnderstandingSpecin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder- Returns:
- The naturalLanguageQueryUnderstandingSpec.
-
setNaturalLanguageQueryUnderstandingSpec
public AnswerQueryRequest.SearchSpec.SearchParams.Builder setNaturalLanguageQueryUnderstandingSpec(SearchRequest.NaturalLanguageQueryUnderstandingSpec value) Optional. Specification to enable natural language understanding capabilities for search requests.
.google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec natural_language_query_understanding_spec = 8 [(.google.api.field_behavior) = OPTIONAL]; -
setNaturalLanguageQueryUnderstandingSpec
public AnswerQueryRequest.SearchSpec.SearchParams.Builder setNaturalLanguageQueryUnderstandingSpec(SearchRequest.NaturalLanguageQueryUnderstandingSpec.Builder builderForValue) Optional. Specification to enable natural language understanding capabilities for search requests.
.google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec natural_language_query_understanding_spec = 8 [(.google.api.field_behavior) = OPTIONAL]; -
mergeNaturalLanguageQueryUnderstandingSpec
public AnswerQueryRequest.SearchSpec.SearchParams.Builder mergeNaturalLanguageQueryUnderstandingSpec(SearchRequest.NaturalLanguageQueryUnderstandingSpec value) Optional. Specification to enable natural language understanding capabilities for search requests.
.google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec natural_language_query_understanding_spec = 8 [(.google.api.field_behavior) = OPTIONAL]; -
clearNaturalLanguageQueryUnderstandingSpec
public AnswerQueryRequest.SearchSpec.SearchParams.Builder clearNaturalLanguageQueryUnderstandingSpec()Optional. Specification to enable natural language understanding capabilities for search requests.
.google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec natural_language_query_understanding_spec = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getNaturalLanguageQueryUnderstandingSpecBuilder
public SearchRequest.NaturalLanguageQueryUnderstandingSpec.Builder getNaturalLanguageQueryUnderstandingSpecBuilder()Optional. Specification to enable natural language understanding capabilities for search requests.
.google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec natural_language_query_understanding_spec = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getNaturalLanguageQueryUnderstandingSpecOrBuilder
public SearchRequest.NaturalLanguageQueryUnderstandingSpecOrBuilder getNaturalLanguageQueryUnderstandingSpecOrBuilder()Optional. Specification to enable natural language understanding capabilities for search requests.
.google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec natural_language_query_understanding_spec = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNaturalLanguageQueryUnderstandingSpecOrBuilderin interfaceAnswerQueryRequest.SearchSpec.SearchParamsOrBuilder
-