public sealed class DocumentationRule : IMessage<DocumentationRule>, IEquatable<DocumentationRule>, IDeepCloneable<DocumentationRule>, IBufferMessage, IMessage
A documentation rule provides information about individual API elements.
Description of the selected proto element (e.g. a message, a method, a
'service' definition, or a field). Defaults to leading & trailing comments
taken from the proto source definition of the proto element.
The selector is a comma-separated list of patterns for any element such as
a method, a field, an enum value. Each pattern is a qualified name of the
element which may end in "", indicating a wildcard. Wildcards are only
allowed at the end and for a whole component of the qualified name,
i.e. "foo." is ok, but not "foo.b" or "foo..bar". A wildcard will match
one or more components. To specify a default for all applicable elements,
the whole pattern "*" is used.
[[["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."],[[["`DocumentationRule` is a class that provides information about individual API elements, inheriting from `object` and implementing several interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["It has constructors for creating a new `DocumentationRule` object, either empty or by copying from an existing `DocumentationRule`."],["It defines fields for deprecation description, description, and selector, which are each identified by a field number."],["The class has properties to access and modify the description, deprecation description, and selector, as well as static properties `Descriptor` and `Parser` for metadata and parsing."],["Methods provided include functionalities for size calculation, object cloning, equality comparisons, hash code generation, merging from another `DocumentationRule` or `CodedInputStream`, string conversion, and writing to `CodedOutputStream`."]]],[]]