public interface GuidedSearchSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEnableRefinementAttributes()
Whether or not to enable and include refinement attributes in gudied search
result.
|
boolean |
getEnableRelatedQuestions()
Whether or not to enable and include related questions in search response.
|
int |
getMaxRelatedQuestions()
Max number of related questions to be returned.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean getEnableRefinementAttributes()
Whether or not to enable and include refinement attributes in gudied search result.
bool enable_refinement_attributes = 1;boolean getEnableRelatedQuestions()
Whether or not to enable and include related questions in search response.
bool enable_related_questions = 2;int getMaxRelatedQuestions()
Max number of related questions to be returned. The valid range is [1, 5]. If enable_related_questions is true, the default value is 3.
int32 max_related_questions = 3;Copyright © 2024 Google LLC. All rights reserved.