public static interface SearchRequest.ContentSearchSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
SearchRequest.ContentSearchSpec.ChunkSpec |
getChunkSpec()
Specifies the chunk spec to be returned from the search response.
|
SearchRequest.ContentSearchSpec.ChunkSpecOrBuilder |
getChunkSpecOrBuilder()
Specifies the chunk spec to be returned from the search response.
|
SearchRequest.ContentSearchSpec.ExtractiveContentSpec |
getExtractiveContentSpec()
If there is no extractive_content_spec provided, there will be no
extractive answer in the search response.
|
SearchRequest.ContentSearchSpec.ExtractiveContentSpecOrBuilder |
getExtractiveContentSpecOrBuilder()
If there is no extractive_content_spec provided, there will be no
extractive answer in the search response.
|
SearchRequest.ContentSearchSpec.SearchResultMode |
getSearchResultMode()
Specifies the search result mode.
|
int |
getSearchResultModeValue()
Specifies the search result mode.
|
SearchRequest.ContentSearchSpec.SnippetSpec |
getSnippetSpec()
If `snippetSpec` is not specified, snippets are not included in the
search response.
|
SearchRequest.ContentSearchSpec.SnippetSpecOrBuilder |
getSnippetSpecOrBuilder()
If `snippetSpec` is not specified, snippets are not included in the
search response.
|
SearchRequest.ContentSearchSpec.SummarySpec |
getSummarySpec()
If `summarySpec` is not specified, summaries are not included in the
search response.
|
SearchRequest.ContentSearchSpec.SummarySpecOrBuilder |
getSummarySpecOrBuilder()
If `summarySpec` is not specified, summaries are not included in the
search response.
|
boolean |
hasChunkSpec()
Specifies the chunk spec to be returned from the search response.
|
boolean |
hasExtractiveContentSpec()
If there is no extractive_content_spec provided, there will be no
extractive answer in the search response.
|
boolean |
hasSnippetSpec()
If `snippetSpec` is not specified, snippets are not included in the
search response.
|
boolean |
hasSummarySpec()
If `summarySpec` is not specified, summaries are not included in the
search response.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasSnippetSpec()
If `snippetSpec` is not specified, snippets are not included in the search response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SnippetSpec snippet_spec = 1;
SearchRequest.ContentSearchSpec.SnippetSpec getSnippetSpec()
If `snippetSpec` is not specified, snippets are not included in the search response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SnippetSpec snippet_spec = 1;
SearchRequest.ContentSearchSpec.SnippetSpecOrBuilder getSnippetSpecOrBuilder()
If `snippetSpec` is not specified, snippets are not included in the search response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SnippetSpec snippet_spec = 1;
boolean hasSummarySpec()
If `summarySpec` is not specified, summaries are not included in the search response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 2;
SearchRequest.ContentSearchSpec.SummarySpec getSummarySpec()
If `summarySpec` is not specified, summaries are not included in the search response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 2;
SearchRequest.ContentSearchSpec.SummarySpecOrBuilder getSummarySpecOrBuilder()
If `summarySpec` is not specified, summaries are not included in the search response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 2;
boolean hasExtractiveContentSpec()
If there is no extractive_content_spec provided, there will be no extractive answer in the search response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ExtractiveContentSpec extractive_content_spec = 3;
SearchRequest.ContentSearchSpec.ExtractiveContentSpec getExtractiveContentSpec()
If there is no extractive_content_spec provided, there will be no extractive answer in the search response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ExtractiveContentSpec extractive_content_spec = 3;
SearchRequest.ContentSearchSpec.ExtractiveContentSpecOrBuilder getExtractiveContentSpecOrBuilder()
If there is no extractive_content_spec provided, there will be no extractive answer in the search response.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ExtractiveContentSpec extractive_content_spec = 3;
int getSearchResultModeValue()
Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SearchResultMode search_result_mode = 4;
SearchRequest.ContentSearchSpec.SearchResultMode getSearchResultMode()
Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SearchResultMode search_result_mode = 4;
boolean hasChunkSpec()
Specifies the chunk spec to be returned from the search response. Only available if the [SearchRequest.ContentSearchSpec.search_result_mode][google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.search_result_mode] is set to [CHUNKS][google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS]
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ChunkSpec chunk_spec = 5;
SearchRequest.ContentSearchSpec.ChunkSpec getChunkSpec()
Specifies the chunk spec to be returned from the search response. Only available if the [SearchRequest.ContentSearchSpec.search_result_mode][google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.search_result_mode] is set to [CHUNKS][google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS]
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ChunkSpec chunk_spec = 5;
SearchRequest.ContentSearchSpec.ChunkSpecOrBuilder getChunkSpecOrBuilder()
Specifies the chunk spec to be returned from the search response. Only available if the [SearchRequest.ContentSearchSpec.search_result_mode][google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.search_result_mode] is set to [CHUNKS][google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS]
.google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.ChunkSpec chunk_spec = 5;
Copyright © 2024 Google LLC. All rights reserved.