public interface IMessage<T> : IMessage, IEquatable<T>, IDeepCloneable<T> where T : IMessage<T>
Generic interface for a Protocol Buffers message, where the type parameter is expected to be the same type as the implementation class.
Namespace
Google.ProtobufAssembly
Google.Protobuf.dll
Type Parameter | |
---|---|
Name | Description |
T | The message type. |
Methods
MergeFrom(T)
void MergeFrom(T message)
Merges the given message into this one.
Parameter | |
---|---|
Name | Description |
message | T The message to merge with this one. Must not be null. |
See the user guide for precise merge semantics.