/// <summary> /// Returns a clone of the underlying <see cref="DescriptorProto"/> describing this message. /// Note that a copy is taken every time this method is called, so clients using it frequently /// (and not modifying it) may want to cache the returned value. /// </summary> /// <returns>A protobuf representation of this message descriptor.</returns> public DescriptorProto ToProto() => Proto.Clone();