Interface GuidedSearchSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GuidedSearchSpec,GuidedSearchSpec.Builder
@Generated
public interface GuidedSearchSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether or not to enable and include refinement attributes in gudied search result.booleanWhether or not to enable and include related questions in search response.intMax number of related questions to be returned.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnableRefinementAttributes
boolean getEnableRefinementAttributes()Whether or not to enable and include refinement attributes in gudied search result.
bool enable_refinement_attributes = 1;- Returns:
- The enableRefinementAttributes.
-
getEnableRelatedQuestions
boolean getEnableRelatedQuestions()Whether or not to enable and include related questions in search response.
bool enable_related_questions = 2;- Returns:
- The enableRelatedQuestions.
-
getMaxRelatedQuestions
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;- Returns:
- The maxRelatedQuestions.
-