public static interface SearchRequest.ContentSearchSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getExtractiveContentSpec()
public abstract 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.v1beta.SearchRequest.ContentSearchSpec.ExtractiveContentSpec extractive_content_spec = 3;
| Returns | |
|---|---|
| Type | Description |
SearchRequest.ContentSearchSpec.ExtractiveContentSpec |
The extractiveContentSpec. |
getExtractiveContentSpecOrBuilder()
public abstract 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.v1beta.SearchRequest.ContentSearchSpec.ExtractiveContentSpec extractive_content_spec = 3;
| Returns | |
|---|---|
| Type | Description |
SearchRequest.ContentSearchSpec.ExtractiveContentSpecOrBuilder |
|
getSnippetSpec()
public abstract SearchRequest.ContentSearchSpec.SnippetSpec getSnippetSpec()If there is no snippet spec provided, there will be no snippet in the search result.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec snippet_spec = 1;
| Returns | |
|---|---|
| Type | Description |
SearchRequest.ContentSearchSpec.SnippetSpec |
The snippetSpec. |
getSnippetSpecOrBuilder()
public abstract SearchRequest.ContentSearchSpec.SnippetSpecOrBuilder getSnippetSpecOrBuilder()If there is no snippet spec provided, there will be no snippet in the search result.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec snippet_spec = 1;
| Returns | |
|---|---|
| Type | Description |
SearchRequest.ContentSearchSpec.SnippetSpecOrBuilder |
|
getSummarySpec()
public abstract SearchRequest.ContentSearchSpec.SummarySpec getSummarySpec()If there is no summary spec provided, there will be no summary in the search response.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 2;
| Returns | |
|---|---|
| Type | Description |
SearchRequest.ContentSearchSpec.SummarySpec |
The summarySpec. |
getSummarySpecOrBuilder()
public abstract SearchRequest.ContentSearchSpec.SummarySpecOrBuilder getSummarySpecOrBuilder()If there is no summary spec provided, there will be no summary in the search response.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 2;
| Returns | |
|---|---|
| Type | Description |
SearchRequest.ContentSearchSpec.SummarySpecOrBuilder |
|
hasExtractiveContentSpec()
public abstract boolean hasExtractiveContentSpec()If there is no extractive_content_spec provided, there will be no extractive answer in the search response.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ExtractiveContentSpec extractive_content_spec = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the extractiveContentSpec field is set. |
hasSnippetSpec()
public abstract boolean hasSnippetSpec()If there is no snippet spec provided, there will be no snippet in the search result.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec snippet_spec = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the snippetSpec field is set. |
hasSummarySpec()
public abstract boolean hasSummarySpec()If there is no summary spec provided, there will be no summary in the search response.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the summarySpec field is set. |