public interface IExtendableMessage<T> : IMessage<T>, IMessage, IEquatable<T>, IDeepCloneable<T> where T : IExtendableMessage<T>
Generic interface for a Protocol Buffers message containing one or more extensions, where the type parameter is expected to be the same type as the implementation class.
This interface is experiemental and is subject to change.
[[["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-03-21 UTC."],[[["This document outlines the `IExtendableMessage\u003cT\u003e` interface, a generic interface for Protocol Buffers messages that support extensions, and it is considered experimental and subject to change."],["The `IExtendableMessage\u003cT\u003e` interface inherits from `IMessage\u003cT\u003e`, `IMessage`, `IEquatable\u003cT\u003e`, and `IDeepCloneable\u003cT\u003e`, and requires that the type parameter `T` be the same type as the implementation class."],["The interface provides methods to manage extensions, including `ClearExtension`, `GetExtension`, `GetOrInitializeExtension`, `HasExtension`, and `SetExtension` for both standard and repeated extensions."],["It includes inherited members from parent interfaces such as `MergeFrom`, `WriteTo`, `CalculateSize`, `Descriptor`, `Equals`, and `Clone`, which are essential for working with Protocol Buffers messages."],["The document details the namespace as `Google.Protobuf` and the assembly as `Google.Protobuf.dll`, alongside numerous extension methods found in `MessageExtensions` for tasks like merging, converting, writing, and checking if a message is initialized."]]],[]]