public sealed class SearchResponse.Types.Facet.Types.FacetValue : IMessage<SearchResponse.Types.Facet.Types.FacetValue>, IEquatable<SearchResponse.Types.Facet.Types.FacetValue>, IDeepCloneable<SearchResponse.Types.Facet.Types.FacetValue>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class SearchResponse.Types.Facet.Types.FacetValue.
A facet value which contains value names and their count.
Interval value for a facet, such as [10, 20) for facet "price". It
matches
[SearchRequest.FacetSpec.FacetKey.intervals][google.cloud.discoveryengine.v1.SearchRequest.FacetSpec.FacetKey.intervals].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eSearchResponse.Types.Facet.Types.FacetValue\u003c/code\u003e class in the Google Cloud Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFacetValue\u003c/code\u003e represents a single value within a facet, including its name and the count of items that match it.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring compatibility with various protocols and functionalities.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFacetValue\u003c/code\u003e instances can be constructed with a default constructor or by copying another \u003ccode\u003eFacetValue\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eFacetValue\u003c/code\u003e include \u003ccode\u003eCount\u003c/code\u003e (the number of items), \u003ccode\u003eFacetValueCase\u003c/code\u003e (the specific type of facet value), \u003ccode\u003eHasValue\u003c/code\u003e (if a value has been assigned), \u003ccode\u003eInterval\u003c/code\u003e (the interval value), and \u003ccode\u003eValue\u003c/code\u003e (the text value of a facet).\u003c/p\u003e\n"]]],[],null,[]]