public static final class StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder> implements StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilder
Specification of the Vertex AI Search tool.Protobuf type
google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VertexAiSearchSpecaddRepeatedField, 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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder>public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder>public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamAssistRequest.ToolsSpec.VertexAiSearchSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamAssistRequest.ToolsSpec.VertexAiSearchSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder>public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder mergeFrom(StreamAssistRequest.ToolsSpec.VertexAiSearchSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder>public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder>IOExceptionpublic List<SearchRequest.DataStoreSpec> getDataStoreSpecsList()
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
getDataStoreSpecsList in interface StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilderpublic int getDataStoreSpecsCount()
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
getDataStoreSpecsCount in interface StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilderpublic SearchRequest.DataStoreSpec getDataStoreSpecs(int index)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
getDataStoreSpecs in interface StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilderpublic StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder setDataStoreSpecs(int index, SearchRequest.DataStoreSpec value)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder setDataStoreSpecs(int index, SearchRequest.DataStoreSpec.Builder builderForValue)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder addDataStoreSpecs(SearchRequest.DataStoreSpec value)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder addDataStoreSpecs(int index, SearchRequest.DataStoreSpec value)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder addDataStoreSpecs(SearchRequest.DataStoreSpec.Builder builderForValue)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder addDataStoreSpecs(int index, SearchRequest.DataStoreSpec.Builder builderForValue)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder addAllDataStoreSpecs(Iterable<? extends SearchRequest.DataStoreSpec> values)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder clearDataStoreSpecs()
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder removeDataStoreSpecs(int index)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public SearchRequest.DataStoreSpec.Builder getDataStoreSpecsBuilder(int index)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public SearchRequest.DataStoreSpecOrBuilder getDataStoreSpecsOrBuilder(int index)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
getDataStoreSpecsOrBuilder in interface StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilderpublic List<? extends SearchRequest.DataStoreSpecOrBuilder> getDataStoreSpecsOrBuilderList()
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
getDataStoreSpecsOrBuilderList in interface StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilderpublic SearchRequest.DataStoreSpec.Builder addDataStoreSpecsBuilder()
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public SearchRequest.DataStoreSpec.Builder addDataStoreSpecsBuilder(int index)
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public List<SearchRequest.DataStoreSpec.Builder> getDataStoreSpecsBuilderList()
Optional. Specs defining [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in a search call and configurations for those data stores. This is only considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with multiple data stores.
repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL];
public String getFilter()
Optional. 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.
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
customer 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 = 4 [(.google.api.field_behavior) = OPTIONAL];getFilter in interface StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Optional. 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.
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
customer 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 = 4 [(.google.api.field_behavior) = OPTIONAL];getFilterBytes in interface StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilderpublic StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder setFilter(String value)
Optional. 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.
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
customer 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 = 4 [(.google.api.field_behavior) = OPTIONAL];value - The filter to set.public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder clearFilter()
Optional. 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.
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
customer 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 = 4 [(.google.api.field_behavior) = OPTIONAL];public StreamAssistRequest.ToolsSpec.VertexAiSearchSpec.Builder setFilterBytes(com.google.protobuf.ByteString value)
Optional. 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.
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
customer 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 = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for filter to set.Copyright © 2026 Google LLC. All rights reserved.