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 v1beta 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.v1beta.SearchRequest.FacetSpec.FacetKey.intervals].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eSearchResponse.Types.Facet.Types.FacetValue\u003c/code\u003e class in the Google Cloud Discovery Engine v1beta API, detailing its properties, constructors, and inheritance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFacetValue\u003c/code\u003e class represents a single facet value, including the value name and the count of items associated with that value.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFacetValue\u003c/code\u003e 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, extending its functionality within the Google Protobuf ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eNotable properties of the class include \u003ccode\u003eCount\u003c/code\u003e, which specifies the number of items with the facet value, and \u003ccode\u003eValue\u003c/code\u003e, which contains the text value of the facet, as well as the \u003ccode\u003eInterval\u003c/code\u003e property and \u003ccode\u003eFacetValueCase\u003c/code\u003e which helps identify which value type is set.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors that allow to create an instance of the class, either with no arguments, or by copying a pre-existing \u003ccode\u003eFacetValue\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]