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 documentation is for the \u003ccode\u003eSearchResponse.Types.Facet.Types.FacetValue\u003c/code\u003e class within the Discovery Engine v1 API, which is used to define a facet value containing value names and their corresponding counts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFacetValue\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling functionalities like deep cloning and equality comparisons.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eFacetValue\u003c/code\u003e contains a \u003ccode\u003eCount\u003c/code\u003e property, indicating the number of items associated with the facet value, and also possesses a \u003ccode\u003eValue\u003c/code\u003e property, which indicates the text value of the facet, such as color.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInterval\u003c/code\u003e property of the class \u003ccode\u003eFacetValue\u003c/code\u003e provides a value for a facet like price, matching user defined search intervals, and the property \u003ccode\u003eFacetValueCase\u003c/code\u003e defines the type of value held.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation is available for multiple versions, from version 1.0.0-beta06 up to 1.6.0, and also documents the implementation from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]