public static interface GenerateGroundedContentRequest.GroundingSource.SearchSourceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getFilter()
public abstract String getFilter()
Filter expression to be applied to the search.
The syntax is the same as SearchRequest.filter.
string filter = 3;
Returns | |
---|---|
Type | Description |
String |
The filter. |
getFilterBytes()
public abstract ByteString getFilterBytes()
Filter expression to be applied to the search.
The syntax is the same as SearchRequest.filter.
string filter = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for filter. |
getMaxResultCount()
public abstract int getMaxResultCount()
Number of search results to return.
The default value is 10. The maximumm allowed value is 10.
int32 max_result_count = 2;
Returns | |
---|---|
Type | Description |
int |
The maxResultCount. |
getSafeSearch()
public abstract boolean getSafeSearch()
If set, safe search is enabled in Vertex AI Search requests.
bool safe_search = 5;
Returns | |
---|---|
Type | Description |
boolean |
The safeSearch. |
getServingConfig()
public abstract String getServingConfig()
The resource name of the Engine to use.
Format:
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}
string serving_config = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The servingConfig. |
getServingConfigBytes()
public abstract ByteString getServingConfigBytes()
The resource name of the Engine to use.
Format:
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}
string serving_config = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for servingConfig. |