Interface SearchRequest.ContentSearchSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchRequest.ContentSearchSpec
,SearchRequest.ContentSearchSpec.Builder
- Enclosing class:
- SearchRequest
public static interface SearchRequest.ContentSearchSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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
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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSnippetSpec
boolean hasSnippetSpec()
If `snippetSpec` is not specified, snippets are not included in the search response.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec snippet_spec = 1;
- Returns:
- Whether the snippetSpec field is set.
-
getSnippetSpec
SearchRequest.ContentSearchSpec.SnippetSpec getSnippetSpec()
If `snippetSpec` is not specified, snippets are not included in the search response.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec snippet_spec = 1;
- Returns:
- The snippetSpec.
-
getSnippetSpecOrBuilder
SearchRequest.ContentSearchSpec.SnippetSpecOrBuilder getSnippetSpecOrBuilder()
If `snippetSpec` is not specified, snippets are not included in the search response.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SnippetSpec snippet_spec = 1;
-
hasSummarySpec
boolean hasSummarySpec()
If `summarySpec` is not specified, summaries are not included in the search response.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 2;
- Returns:
- Whether the summarySpec field is set.
-
getSummarySpec
SearchRequest.ContentSearchSpec.SummarySpec getSummarySpec()
If `summarySpec` is not specified, summaries are not included in the search response.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 2;
- Returns:
- The summarySpec.
-
getSummarySpecOrBuilder
SearchRequest.ContentSearchSpec.SummarySpecOrBuilder getSummarySpecOrBuilder()
If `summarySpec` is not specified, summaries are not included in the search response.
.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 2;
-
hasExtractiveContentSpec
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:
- Whether the extractiveContentSpec field is set.
-
getExtractiveContentSpec
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:
- The extractiveContentSpec.
-
getExtractiveContentSpecOrBuilder
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;
-
-